We look at the division of 45966838 by 666 
The aim is to understand the frequency of 666 in 45966838.

On to step 1:
4 divided by 666 is 0 with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (5) from the dividend to 4 and continue with: 45 / 666

Step 2:
When dividing 45 by 666, we get 0 with a remainder of 45.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 45 after subtracting 0 from 45.
Grab the next digit (9) from the dividend, add it to 45, then carry on: 459 / 666

Step 3:
666 can be fit into 459 0 times, resulting in a remainder of 459.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 459 and we're left with 459.
Include the next digit (6) from the dividend after 459, then repeat: 4596 / 666

Moving on to step 4:
666 can be fit into 4596 6 times, resulting in a remainder of 600.
The number 6 becomes the next digit in our result. 
Result so far: 6.0
Subtracting 3996 from 4596 leaves us with 600.
Fetch the next digit (6) from the dividend, attach it to 600 and continue: 6006 / 666

On to step 5:
6006 divided by 666 is 9 with a remainder of 12.
The next digit of our result is 9. 
Result so far: 69.0
If we subtract 5994 from 6006, we get 12.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 666

Moving on to step 6:
If we divide 128 by 666, we get 0 and a remainder of 128.
Write down 0 as next digit of the result. 
Result so far: 690.0
Deduct 0 from 128 and we're left with 128.
Include the next digit (3) from the dividend after 128, then repeat: 1283 / 666

On to step 7:
If we divide 1283 by 666, we get 1 and a remainder of 617.
The number 1 becomes the next digit in our result. 
Result so far: 6901.0
Subtract 666 from 1283 to get 617.
Fetch the next digit (8) from the dividend, attach it to 617 and continue: 6178 / 666

Step 8:
666 can be fit into 6178 9 times, resulting in a remainder of 184.
The number 9 becomes the next digit in our result. 
Result so far: 69019.0
Subtract 5994 from 6178 to get 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Step 9:
When dividing 1840 by 666, we get 2 with a remainder of 508.
Write down 2 as next digit of the result. 
Result so far: 69019.2
The remainder is 508 after subtracting 1332 from 1840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Going ahead to step 10:
If we divide 5080 by 666, we get 7 and a remainder of 418.
The number 7 becomes the next digit in our result. 
Result so far: 69019.27
If we subtract 4662 from 5080, we get 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

Step 11:
The number 666 fits into 4180 6 times, leaving a remainder of 184.
The number 6 becomes the next digit in our result. 
Result so far: 69019.276
The remainder is 184 after subtracting 3996 from 4180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Moving on to step 12:
The number 666 fits into 1840 2 times, leaving a remainder of 508.
The number 2 becomes the next digit in our result. 
Result so far: 69019.2762
Deduct 1332 from 1840 and we're left with 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Going ahead to step 13:
5080 divided by 666 is 7 with a remainder of 418.
The next digit of our result is 7. 
Result so far: 69019.27627
Subtract 4662 from 5080 to get 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

On to step 14:
When dividing 4180 by 666, we get 6 with a remainder of 184.
Record the quotient 6 as the next digit in the result. 
Result so far: 69019.276276
If we take 3996 away from 4180, we end up with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Step 15:
666 can be fit into 1840 2 times, resulting in a remainder of 508.
Use 2 as the next digit of our solution. 
Result so far: 69019.2762762
Subtracting 1332 from 1840 leaves us with 508.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5080, and continue the process.

Let's proceed to step 16:
5080 divided by 666 is 7 with a remainder of 418.
Write down 7 as next digit of the result. 
Result so far: 69019.27627627
If we take 4662 away from 5080, we end up with 418.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4180, and continue the process.

The quotient of the division is 69019.27627627, and the remainder is 4.18e-07.