Let's divide 20059779 by 166
The aim is to understand the frequency of 166 in 20059779.

Advancing to step 1:
166 can be fit into 2 0 times, resulting in a remainder of 2.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 2 after subtracting 0 from 2.
Append the next digit (0) from the dividend to 2 and continue with: 20 / 166

Going ahead to step 2:
The number 166 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 20, we end up with 20.
Grab the next digit (0) from the dividend, add it to 20, then carry on: 200 / 166

Going ahead to step 3:
166 goes into 200 1 times with a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 166 from 200, we get 34.
Bring next digit (5) of the dividend behind the 34 and repeat the process: 345 / 166

Going ahead to step 4:
The number 166 fits into 345 2 times, leaving a remainder of 13.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 332 from 345, we get 13.
Grab the next digit (9) from the dividend, add it to 13, then carry on: 139 / 166

On to step 5:
When dividing 139 by 166, we get 0 with a remainder of 139.
Use 0 as the next digit of our solution. 
Result so far: 120.0
Deduct 0 from 139 and we're left with 139.
Include the next digit (7) from the dividend after 139, then repeat: 1397 / 166

Moving on to step 6:
166 goes into 1397 8 times with a remainder of 69.
Use 8 as the next digit of our solution. 
Result so far: 1208.0
Subtracting 1328 from 1397 leaves us with 69.
Take the next digit (7) from the dividend and append it to 69, then repeat: 697 / 166

Step 7:
166 goes into 697 4 times with a remainder of 33.
Put 4 as the next digit of the answer. 
Result so far: 12084.0
Subtract 664 from 697 to get 33.
Take the next digit (9) from the dividend and append it to 33, then repeat: 339 / 166

Step 8:
If we divide 339 by 166, we get 2 and a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 120842.0
If we take 332 away from 339, we end up with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 9:
70 divided by 166 is 0 with a remainder of 70.
Write down 0 as next digit of the result. 
Result so far: 120842.0
If we subtract 0 from 70, we get 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 10:
700 divided by 166 is 4 with a remainder of 36.
Use 4 as the next digit of our solution. 
Result so far: 120842.04
Subtracting 664 from 700 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 11:
166 can be fit into 360 2 times, resulting in a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 120842.042
The remainder is 28 after subtracting 332 from 360.
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 12:
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: 120842.0421
If we subtract 166 from 280, we get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 13:
When dividing 1140 by 166, we get 6 with a remainder of 144.
Write down 6 as next digit of the result. 
Result so far: 120842.04216
Subtract 996 from 1140 to get 144.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1440, and continue the process.

Step 14:
When dividing 1440 by 166, we get 8 with a remainder of 112.
The number 8 becomes the next digit in our result. 
Result so far: 120842.042168
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.

Advancing to step 15:
166 goes into 1120 6 times with a remainder of 124.
Use 6 as the next digit of our solution. 
Result so far: 120842.0421686
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.

Advancing to step 16:
1240 divided by 166 is 7 with a remainder of 78.
The number 7 becomes the next digit in our result. 
Result so far: 120842.04216867
The remainder is 78 after subtracting 1162 from 1240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

In conclusion, the division gives 120842.04216867 with a balance of 7.8e-08.