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

Advancing to step 1:
166 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 166

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

Let's proceed to step 3:
The number 166 fits into 514 3 times, leaving a remainder of 16.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 498 from 514, we get 16.
Include the next digit (9) from the dividend after 16, then repeat: 169 / 166

Let's proceed to step 4:
166 goes into 169 1 times with a remainder of 3.
The number 1 becomes the next digit in our result. 
Result so far: 31.0
If we take 166 away from 169, we end up with 3.
Append the next digit (0) from the dividend to 3 and continue with: 30 / 166

Moving on to step 5:
166 goes into 30 0 times with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 310.0
If we take 0 away from 30, we end up with 30.
Bring next digit (6) of the dividend behind the 30 and repeat the process: 306 / 166

Let's proceed to step 6:
When dividing 306 by 166, we get 1 with a remainder of 140.
Write down 1 as next digit of the result. 
Result so far: 3101.0
The remainder is 140 after subtracting 166 from 306.
Take the next digit (6) from the dividend and append it to 140, then repeat: 1406 / 166

Step 7:
The number 166 fits into 1406 8 times, leaving a remainder of 78.
The number 8 becomes the next digit in our result. 
Result so far: 31018.0
If we take 1328 away from 1406, we end up with 78.
Bring next digit (8) of the dividend behind the 78 and repeat the process: 788 / 166

Advancing to step 8:
The number 166 fits into 788 4 times, leaving a remainder of 124.
The next digit of our result is 4. 
Result so far: 310184.0
Subtracting 664 from 788 leaves us 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.

Let's proceed to step 9:
166 goes into 1240 7 times with a remainder of 78.
Write down 7 as next digit of the result. 
Result so far: 310184.7
Subtracting 1162 from 1240 leaves us 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 10:
166 can be fit into 780 4 times, resulting in a remainder of 116.
Record the quotient 4 as the next digit in the result. 
Result so far: 310184.74
Subtracting 664 from 780 leaves us with 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 11:
1160 divided by 166 is 6 with a remainder of 164.
The next digit of our result is 6. 
Result so far: 310184.746
If we take 996 away from 1160, we end up 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.

Moving on to step 12:
If we divide 1640 by 166, we get 9 and a remainder of 146.
Put 9 as the next digit of the answer. 
Result so far: 310184.7469
Deduct 1494 from 1640 and we're left with 146.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1460, and continue the process.

Let's proceed to step 13:
166 goes into 1460 8 times with a remainder of 132.
Record the quotient 8 as the next digit in the result. 
Result so far: 310184.74698
Deduct 1328 from 1460 and we're left 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 14:
The number 166 fits into 1320 7 times, leaving a remainder of 158.
Put 7 as the next digit of the answer. 
Result so far: 310184.746987
Deduct 1162 from 1320 and we're left 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.

On to step 15:
If we divide 1580 by 166, we get 9 and a remainder of 86.
Write down 9 as next digit of the result. 
Result so far: 310184.7469879
If we subtract 1494 from 1580, we get 86.
Since there are no more digits in the dividend, we add a zero to the remainder making it 860, and continue the process.

Step 16:
The number 166 fits into 860 5 times, leaving a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 310184.74698795
Deduct 830 from 860 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 310184.74698795, with a leftover of 3e-08.