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

Step 1:
3 divided by 166 is 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (6) from the dividend, attach it to 3 and continue: 36 / 166

Going ahead to step 2:
When dividing 36 by 166, we get 0 with a remainder of 36.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 36 leaves us with 36.
Fetch the next digit (3) from the dividend, attach it to 36 and continue: 363 / 166

Moving on to step 3:
When dividing 363 by 166, we get 2 with a remainder of 31.
The next digit of our result is 2. 
Result so far: 2.0
If we take 332 away from 363, we end up with 31.
Bring next digit (7) of the dividend behind the 31 and repeat the process: 317 / 166

Step 4:
166 goes into 317 1 times with a remainder of 151.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
If we take 166 away from 317, we end up with 151.
Include the next digit (2) from the dividend after 151, then repeat: 1512 / 166

Advancing to step 5:
166 can be fit into 1512 9 times, resulting in a remainder of 18.
Record the quotient 9 as the next digit in the result. 
Result so far: 219.0
Subtract 1494 from 1512 to get 18.
Append the next digit (2) from the dividend to 18 and continue with: 182 / 166

Advancing to step 6:
If we divide 182 by 166, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 2191.0
The remainder is 16 after subtracting 166 from 182.
Append the next digit (3) from the dividend to 16 and continue with: 163 / 166

Let's proceed to step 7:
The number 166 fits into 163 0 times, leaving a remainder of 163.
The number 0 becomes the next digit in our result. 
Result so far: 21910.0
Subtracting 0 from 163 leaves us with 163.
Bring next digit (8) of the dividend behind the 163 and repeat the process: 1638 / 166

Advancing to step 8:
When dividing 1638 by 166, we get 9 with a remainder of 144.
The next digit of our result is 9. 
Result so far: 219109.0
Subtracting 1494 from 1638 leaves us 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.

Moving on to step 9:
166 can be fit into 1440 8 times, resulting in a remainder of 112.
Use 8 as the next digit of our solution. 
Result so far: 219109.8
The remainder is 112 after subtracting 1328 from 1440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 10:
166 goes into 1120 6 times with a remainder of 124.
Put 6 as the next digit of the answer. 
Result so far: 219109.86
Deduct 996 from 1120 and we're left 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.

On to step 11:
166 can be fit into 1240 7 times, resulting in a remainder of 78.
Use 7 as the next digit of our solution. 
Result so far: 219109.867
Subtract 1162 from 1240 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Step 12:
166 goes into 780 4 times with a remainder of 116.
The number 4 becomes the next digit in our result. 
Result so far: 219109.8674
If we subtract 664 from 780, we get 116.
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 13:
166 goes into 1160 6 times with a remainder of 164.
The next digit of our result is 6. 
Result so far: 219109.86746
Subtract 996 from 1160 to 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.

Moving on to step 14:
If we divide 1640 by 166, we get 9 and a remainder of 146.
Use 9 as the next digit of our solution. 
Result so far: 219109.867469
The remainder is 146 after subtracting 1494 from 1640.
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 15:
166 can be fit into 1460 8 times, resulting in a remainder of 132.
Write down 8 as next digit of the result. 
Result so far: 219109.8674698
If we take 1328 away from 1460, we end up 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.

Let's proceed to step 16:
166 goes into 1320 7 times with a remainder of 158.
The next digit of our result is 7. 
Result so far: 219109.86746987
If we take 1162 away from 1320, we end up 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.

The final result is 219109.86746987 with a remainder of 1.58e-07.