23988710 ÷ 166 
The aim is to understand the frequency of 166 in 23988710.

On to step 1:
166 can be fit into 2 0 times, resulting in a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 2 and we're left with 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 166

Step 2:
23 divided by 166 is 0 with a remainder of 23.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 23, we end up with 23.
Include the next digit (9) from the dividend after 23, then repeat: 239 / 166

On to step 3:
The number 166 fits into 239 1 times, leaving a remainder of 73.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 166 from 239 leaves us with 73.
Take the next digit (8) from the dividend and append it to 73, then repeat: 738 / 166

On to step 4:
The number 166 fits into 738 4 times, leaving a remainder of 74.
The next digit of our result is 4. 
Result so far: 14.0
The remainder is 74 after subtracting 664 from 738.
Grab the next digit (8) from the dividend, add it to 74, then carry on: 748 / 166

On to step 5:
If we divide 748 by 166, we get 4 and a remainder of 84.
Put 4 as the next digit of the answer. 
Result so far: 144.0
Deduct 664 from 748 and we're left with 84.
Append the next digit (7) from the dividend to 84 and continue with: 847 / 166

Moving on to step 6:
166 can be fit into 847 5 times, resulting in a remainder of 17.
Use 5 as the next digit of our solution. 
Result so far: 1445.0
The remainder is 17 after subtracting 830 from 847.
Include the next digit (1) from the dividend after 17, then repeat: 171 / 166

Let's proceed to step 7:
When dividing 171 by 166, we get 1 with a remainder of 5.
The next digit of our result is 1. 
Result so far: 14451.0
Deduct 166 from 171 and we're left with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 166

Moving on to step 8:
50 divided by 166 is 0 with a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 144510.0
If we subtract 0 from 50, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Advancing to step 9:
500 divided by 166 is 3 with a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 144510.3
If we subtract 498 from 500, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
20 divided by 166 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 144510.3
Deduct 0 from 20 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 11:
166 can be fit into 200 1 times, resulting in a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 144510.301
Subtract 166 from 200 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Moving on to step 12:
If we divide 340 by 166, we get 2 and a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 144510.3012
If we take 332 away from 340, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 13:
80 divided by 166 is 0 with a remainder of 80.
The next digit of our result is 0. 
Result so far: 144510.3012
Subtract 0 from 80 to get 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Moving on to step 14:
The number 166 fits into 800 4 times, leaving a remainder of 136.
The next digit of our result is 4. 
Result so far: 144510.301204
Deduct 664 from 800 and we're left with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Let's proceed to step 15:
The number 166 fits into 1360 8 times, leaving a remainder of 32.
The next digit of our result is 8. 
Result so far: 144510.3012048
Deduct 1328 from 1360 and we're left with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 16:
When dividing 320 by 166, we get 1 with a remainder of 154.
Put 1 as the next digit of the answer. 
Result so far: 144510.30120481
If we take 166 away from 320, we end up with 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

After the division, we end up with 144510.30120481 and a remainder of 1.54e-07.