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

Let's proceed to step 1:
166 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 166

Advancing to step 2:
If we divide 78 by 166, we get 0 and a remainder of 78.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 78 and we're left with 78.
Grab the next digit (0) from the dividend, add it to 78, then carry on: 780 / 166

On to step 3:
166 goes into 780 4 times with a remainder of 116.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 116 after subtracting 664 from 780.
Grab the next digit (8) from the dividend, add it to 116, then carry on: 1168 / 166

Let's proceed to step 4:
166 goes into 1168 7 times with a remainder of 6.
The number 7 becomes the next digit in our result. 
Result so far: 47.0
Deduct 1162 from 1168 and we're left with 6.
Include the next digit (9) from the dividend after 6, then repeat: 69 / 166

Let's proceed to step 5:
When dividing 69 by 166, we get 0 with a remainder of 69.
Write down 0 as next digit of the result. 
Result so far: 470.0
If we take 0 away from 69, we end up with 69.
Append the next digit (3) from the dividend to 69 and continue with: 693 / 166

Let's proceed to step 6:
When dividing 693 by 166, we get 4 with a remainder of 29.
Record the quotient 4 as the next digit in the result. 
Result so far: 4704.0
Deduct 664 from 693 and we're left with 29.
Take the next digit (3) from the dividend and append it to 29, then repeat: 293 / 166

Going ahead to step 7:
The number 166 fits into 293 1 times, leaving a remainder of 127.
The next digit of our result is 1. 
Result so far: 47041.0
Subtracting 166 from 293 leaves us with 127.
Include the next digit (4) from the dividend after 127, then repeat: 1274 / 166

Moving on to step 8:
166 goes into 1274 7 times with a remainder of 112.
The number 7 becomes the next digit in our result. 
Result so far: 470417.0
If we take 1162 away from 1274, we end up with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

Moving on to step 9:
1120 divided by 166 is 6 with a remainder of 124.
Use 6 as the next digit of our solution. 
Result so far: 470417.6
If we take 996 away from 1120, we end up 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 10:
When dividing 1240 by 166, we get 7 with a remainder of 78.
Write down 7 as next digit of the result. 
Result so far: 470417.67
If we take 1162 away from 1240, we end up with 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 11:
The number 166 fits into 780 4 times, leaving a remainder of 116.
The number 4 becomes the next digit in our result. 
Result so far: 470417.674
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.

Going ahead to step 12:
The number 166 fits into 1160 6 times, leaving a remainder of 164.
Write down 6 as next digit of the result. 
Result so far: 470417.6746
Subtracting 996 from 1160 leaves us with 164.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1640, and continue the process.

Going ahead to step 13:
166 goes into 1640 9 times with a remainder of 146.
Record the quotient 9 as the next digit in the result. 
Result so far: 470417.67469
If we subtract 1494 from 1640, we get 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Advancing to step 14:
1460 divided by 166 is 8 with a remainder of 132.
The number 8 becomes the next digit in our result. 
Result so far: 470417.674698
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.

Going ahead to step 15:
The number 166 fits into 1320 7 times, leaving a remainder of 158.
Record the quotient 7 as the next digit in the result. 
Result so far: 470417.6746987
If we subtract 1162 from 1320, we get 158.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1580, and continue the process.

Moving on to step 16:
166 can be fit into 1580 9 times, resulting in a remainder of 86.
The number 9 becomes the next digit in our result. 
Result so far: 470417.67469879
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.

In conclusion, the division gives 470417.67469879 with a balance of 8.6e-08.