We're dividing 82929791 by 166 
The aim is to understand the frequency of 166 in 82929791.

On to step 1:
166 can be fit into 8 0 times, resulting in a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Bring next digit (2) of the dividend behind the 8 and repeat the process: 82 / 166

Going ahead to step 2:
The number 166 fits into 82 0 times, leaving a remainder of 82.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 82 after subtracting 0 from 82.
Include the next digit (9) from the dividend after 82, then repeat: 829 / 166

Step 3:
When dividing 829 by 166, we get 4 with a remainder of 165.
The next digit of our result is 4. 
Result so far: 4.0
Subtract 664 from 829 to get 165.
Bring next digit (2) of the dividend behind the 165 and repeat the process: 1652 / 166

Moving on to step 4:
1652 divided by 166 is 9 with a remainder of 158.
Write down 9 as next digit of the result. 
Result so far: 49.0
Deduct 1494 from 1652 and we're left with 158.
Append the next digit (9) from the dividend to 158 and continue with: 1589 / 166

Let's proceed to step 5:
166 goes into 1589 9 times with a remainder of 95.
Put 9 as the next digit of the answer. 
Result so far: 499.0
The remainder is 95 after subtracting 1494 from 1589.
Include the next digit (7) from the dividend after 95, then repeat: 957 / 166

Advancing to step 6:
166 goes into 957 5 times with a remainder of 127.
Use 5 as the next digit of our solution. 
Result so far: 4995.0
The remainder is 127 after subtracting 830 from 957.
Include the next digit (9) from the dividend after 127, then repeat: 1279 / 166

Let's proceed to step 7:
166 goes into 1279 7 times with a remainder of 117.
The next digit of our result is 7. 
Result so far: 49957.0
If we subtract 1162 from 1279, we get 117.
Fetch the next digit (1) from the dividend, attach it to 117 and continue: 1171 / 166

Advancing to step 8:
If we divide 1171 by 166, we get 7 and a remainder of 9.
The next digit of our result is 7. 
Result so far: 499577.0
If we take 1162 away from 1171, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
If we divide 90 by 166, we get 0 and a remainder of 90.
The next digit of our result is 0. 
Result so far: 499577.0
Deduct 0 from 90 and we're left with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

On to step 10:
166 goes into 900 5 times with a remainder of 70.
Record the quotient 5 as the next digit in the result. 
Result so far: 499577.05
Deduct 830 from 900 and we're left with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Let's proceed to step 11:
When dividing 700 by 166, we get 4 with a remainder of 36.
Write down 4 as next digit of the result. 
Result so far: 499577.054
Subtract 664 from 700 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Let's proceed to step 12:
360 divided by 166 is 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 499577.0542
If we take 332 away from 360, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 13:
The number 166 fits into 280 1 times, leaving a remainder of 114.
The number 1 becomes the next digit in our result. 
Result so far: 499577.05421
The remainder is 114 after subtracting 166 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Step 14:
166 goes into 1140 6 times with a remainder of 144.
The number 6 becomes the next digit in our result. 
Result so far: 499577.054216
If we take 996 away from 1140, we end up with 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Let's proceed to step 15:
If we divide 1440 by 166, we get 8 and a remainder of 112.
The next digit of our result is 8. 
Result so far: 499577.0542168
Subtract 1328 from 1440 to get 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Let's proceed to step 16:
The number 166 fits into 1120 6 times, leaving a remainder of 124.
The next digit of our result is 6. 
Result so far: 499577.05421686
If we take 996 away from 1120, we end up with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Our division results in 499577.05421686 with a remaining 1.24e-07.