We divide 30155221 by 166
The aim is to understand the frequency of 166 in 30155221.

Let's proceed to step 1:
If we divide 3 by 166, we get 0 and a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 166

Let's proceed to step 2:
When dividing 30 by 166, we get 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 30 to get 30.
Bring next digit (1) of the dividend behind the 30 and repeat the process: 301 / 166

Going ahead to step 3:
The number 166 fits into 301 1 times, leaving a remainder of 135.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 166 from 301, we get 135.
Take the next digit (5) from the dividend and append it to 135, then repeat: 1355 / 166

Let's proceed to step 4:
If we divide 1355 by 166, we get 8 and a remainder of 27.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
If we subtract 1328 from 1355, we get 27.
Grab the next digit (5) from the dividend, add it to 27, then carry on: 275 / 166

Moving on to step 5:
The number 166 fits into 275 1 times, leaving a remainder of 109.
The next digit of our result is 1. 
Result so far: 181.0
The remainder is 109 after subtracting 166 from 275.
Include the next digit (2) from the dividend after 109, then repeat: 1092 / 166

Moving on to step 6:
1092 divided by 166 is 6 with a remainder of 96.
Record the quotient 6 as the next digit in the result. 
Result so far: 1816.0
Subtracting 996 from 1092 leaves us with 96.
Include the next digit (2) from the dividend after 96, then repeat: 962 / 166

On to step 7:
When dividing 962 by 166, we get 5 with a remainder of 132.
The next digit of our result is 5. 
Result so far: 18165.0
If we take 830 away from 962, we end up with 132.
Bring next digit (1) of the dividend behind the 132 and repeat the process: 1321 / 166

On to step 8:
166 can be fit into 1321 7 times, resulting in a remainder of 159.
Record the quotient 7 as the next digit in the result. 
Result so far: 181657.0
Subtracting 1162 from 1321 leaves us with 159.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1590, and continue the process.

Moving on to step 9:
If we divide 1590 by 166, we get 9 and a remainder of 96.
Record the quotient 9 as the next digit in the result. 
Result so far: 181657.9
The remainder is 96 after subtracting 1494 from 1590.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Going ahead to step 10:
960 divided by 166 is 5 with a remainder of 130.
Use 5 as the next digit of our solution. 
Result so far: 181657.95
Subtracting 830 from 960 leaves us with 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1300, and continue the process.

On to step 11:
166 can be fit into 1300 7 times, resulting in a remainder of 138.
The number 7 becomes the next digit in our result. 
Result so far: 181657.957
If we subtract 1162 from 1300, we get 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Going ahead to step 12:
If we divide 1380 by 166, we get 8 and a remainder of 52.
Use 8 as the next digit of our solution. 
Result so far: 181657.9578
Deduct 1328 from 1380 and we're left with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 13:
166 goes into 520 3 times with a remainder of 22.
Put 3 as the next digit of the answer. 
Result so far: 181657.95783
If we take 498 away from 520, we end up with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 14:
166 goes into 220 1 times with a remainder of 54.
Use 1 as the next digit of our solution. 
Result so far: 181657.957831
Deduct 166 from 220 and we're left with 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

Step 15:
The number 166 fits into 540 3 times, leaving a remainder of 42.
Record the quotient 3 as the next digit in the result. 
Result so far: 181657.9578313
Deduct 498 from 540 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Advancing to step 16:
When dividing 420 by 166, we get 2 with a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 181657.95783132
If we take 332 away from 420, we end up with 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

In conclusion, the division gives 181657.95783132 with a balance of 8.8e-08.