We look at the division of 33167317 by 791 
The aim is to understand the frequency of 791 in 33167317.

Let's proceed to step 1:
3 divided by 791 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 791

Let's proceed to step 2:
When dividing 33 by 791, we get 0 with a remainder of 33.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 33, we get 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 791

Let's proceed to step 3:
791 goes into 331 0 times with a remainder of 331.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 331 after subtracting 0 from 331.
Bring next digit (6) of the dividend behind the 331 and repeat the process: 3316 / 791

Moving on to step 4:
When dividing 3316 by 791, we get 4 with a remainder of 152.
Write down 4 as next digit of the result. 
Result so far: 4.0
If we subtract 3164 from 3316, we get 152.
Take the next digit (7) from the dividend and append it to 152, then repeat: 1527 / 791

Advancing to step 5:
When dividing 1527 by 791, we get 1 with a remainder of 736.
Put 1 as the next digit of the answer. 
Result so far: 41.0
The remainder is 736 after subtracting 791 from 1527.
Take the next digit (3) from the dividend and append it to 736, then repeat: 7363 / 791

On to step 6:
791 goes into 7363 9 times with a remainder of 244.
Record the quotient 9 as the next digit in the result. 
Result so far: 419.0
Subtract 7119 from 7363 to get 244.
Bring next digit (1) of the dividend behind the 244 and repeat the process: 2441 / 791

Going ahead to step 7:
791 goes into 2441 3 times with a remainder of 68.
Use 3 as the next digit of our solution. 
Result so far: 4193.0
Deduct 2373 from 2441 and we're left with 68.
Take the next digit (7) from the dividend and append it to 68, then repeat: 687 / 791

Moving on to step 8:
791 goes into 687 0 times with a remainder of 687.
The number 0 becomes the next digit in our result. 
Result so far: 41930.0
If we subtract 0 from 687, we get 687.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6870, and continue the process.

On to step 9:
The number 791 fits into 6870 8 times, leaving a remainder of 542.
Put 8 as the next digit of the answer. 
Result so far: 41930.8
Subtracting 6328 from 6870 leaves us with 542.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5420, and continue the process.

Step 10:
If we divide 5420 by 791, we get 6 and a remainder of 674.
Record the quotient 6 as the next digit in the result. 
Result so far: 41930.86
Subtract 4746 from 5420 to get 674.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6740, and continue the process.

Going ahead to step 11:
If we divide 6740 by 791, we get 8 and a remainder of 412.
The number 8 becomes the next digit in our result. 
Result so far: 41930.868
If we take 6328 away from 6740, we end up with 412.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4120, and continue the process.

Step 12:
If we divide 4120 by 791, we get 5 and a remainder of 165.
Write down 5 as next digit of the result. 
Result so far: 41930.8685
Subtract 3955 from 4120 to get 165.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1650, and continue the process.

Step 13:
791 can be fit into 1650 2 times, resulting in a remainder of 68.
Write down 2 as next digit of the result. 
Result so far: 41930.86852
Subtracting 1582 from 1650 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Let's proceed to step 14:
791 can be fit into 680 0 times, resulting in a remainder of 680.
Put 0 as the next digit of the answer. 
Result so far: 41930.86852
If we subtract 0 from 680, we get 680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6800, and continue the process.

Going ahead to step 15:
6800 divided by 791 is 8 with a remainder of 472.
Use 8 as the next digit of our solution. 
Result so far: 41930.8685208
Subtracting 6328 from 6800 leaves us with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

On to step 16:
When dividing 4720 by 791, we get 5 with a remainder of 765.
Write down 5 as next digit of the result. 
Result so far: 41930.86852085
The remainder is 765 after subtracting 3955 from 4720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7650, and continue the process.

Our division results in 41930.86852085 with a remaining 7.65e-07.