We look at the division of 38309928 by 166 
The aim is to understand the frequency of 166 in 38309928.

Going ahead to step 1:
If we divide 3 by 166, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 166

Let's proceed to step 2:
166 goes into 38 0 times with a remainder of 38.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Bring next digit (3) of the dividend behind the 38 and repeat the process: 383 / 166

On to step 3:
383 divided by 166 is 2 with a remainder of 51.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 51 after subtracting 332 from 383.
Include the next digit (0) from the dividend after 51, then repeat: 510 / 166

Let's proceed to step 4:
When dividing 510 by 166, we get 3 with a remainder of 12.
The next digit of our result is 3. 
Result so far: 23.0
Subtracting 498 from 510 leaves us with 12.
Append the next digit (9) from the dividend to 12 and continue with: 129 / 166

Step 5:
When dividing 129 by 166, we get 0 with a remainder of 129.
The number 0 becomes the next digit in our result. 
Result so far: 230.0
Deduct 0 from 129 and we're left with 129.
Fetch the next digit (9) from the dividend, attach it to 129 and continue: 1299 / 166

Let's proceed to step 6:
When dividing 1299 by 166, we get 7 with a remainder of 137.
The next digit of our result is 7. 
Result so far: 2307.0
Deduct 1162 from 1299 and we're left with 137.
Grab the next digit (2) from the dividend, add it to 137, then carry on: 1372 / 166

Moving on to step 7:
166 goes into 1372 8 times with a remainder of 44.
The next digit of our result is 8. 
Result so far: 23078.0
If we take 1328 away from 1372, we end up with 44.
Append the next digit (8) from the dividend to 44 and continue with: 448 / 166

Moving on to step 8:
448 divided by 166 is 2 with a remainder of 116.
Use 2 as the next digit of our solution. 
Result so far: 230782.0
The remainder is 116 after subtracting 332 from 448.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1160, and continue the process.

Let's proceed to step 9:
The number 166 fits into 1160 6 times, leaving a remainder of 164.
The next digit of our result is 6. 
Result so far: 230782.6
If we subtract 996 from 1160, we get 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Advancing to step 10:
166 goes into 1640 9 times with a remainder of 146.
Use 9 as the next digit of our solution. 
Result so far: 230782.69
Deduct 1494 from 1640 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Moving on to step 11:
If we divide 1460 by 166, we get 8 and a remainder of 132.
Record the quotient 8 as the next digit in the result. 
Result so far: 230782.698
Subtracting 1328 from 1460 leaves us with 132.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1320, and continue the process.

Advancing to step 12:
1320 divided by 166 is 7 with a remainder of 158.
The number 7 becomes the next digit in our result. 
Result so far: 230782.6987
Deduct 1162 from 1320 and we're left with 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Going ahead to step 13:
166 can be fit into 1580 9 times, resulting in a remainder of 86.
Use 9 as the next digit of our solution. 
Result so far: 230782.69879
Subtracting 1494 from 1580 leaves us with 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

On to step 14:
When dividing 860 by 166, we get 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 230782.698795
If we take 830 away from 860, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 15:
300 divided by 166 is 1 with a remainder of 134.
Record the quotient 1 as the next digit in the result. 
Result so far: 230782.6987951
If we subtract 166 from 300, we get 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

Going ahead to step 16:
1340 divided by 166 is 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 230782.69879518
The remainder is 12 after subtracting 1328 from 1340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 230782.69879518, and the remainder is 1.2e-08.