We divide 16157514 by 666
The aim is to understand the frequency of 666 in 16157514.

On to step 1:
If we divide 1 by 666, we get 0 and a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 666

Going ahead to step 2:
666 goes into 16 0 times with a remainder of 16.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 16 and we're left with 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 666

On to step 3:
161 divided by 666 is 0 with a remainder of 161.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 161 and we're left with 161.
Append the next digit (5) from the dividend to 161 and continue with: 1615 / 666

Let's proceed to step 4:
When dividing 1615 by 666, we get 2 with a remainder of 283.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 283 after subtracting 1332 from 1615.
Bring next digit (7) of the dividend behind the 283 and repeat the process: 2837 / 666

On to step 5:
When dividing 2837 by 666, we get 4 with a remainder of 173.
Use 4 as the next digit of our solution. 
Result so far: 24.0
If we subtract 2664 from 2837, we get 173.
Grab the next digit (5) from the dividend, add it to 173, then carry on: 1735 / 666

Moving on to step 6:
When dividing 1735 by 666, we get 2 with a remainder of 403.
Use 2 as the next digit of our solution. 
Result so far: 242.0
If we subtract 1332 from 1735, we get 403.
Append the next digit (1) from the dividend to 403 and continue with: 4031 / 666

On to step 7:
The number 666 fits into 4031 6 times, leaving a remainder of 35.
Record the quotient 6 as the next digit in the result. 
Result so far: 2426.0
Subtract 3996 from 4031 to get 35.
Take the next digit (4) from the dividend and append it to 35, then repeat: 354 / 666

Going ahead to step 8:
The number 666 fits into 354 0 times, leaving a remainder of 354.
Put 0 as the next digit of the answer. 
Result so far: 24260.0
Subtract 0 from 354 to get 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Advancing to step 9:
666 can be fit into 3540 5 times, resulting in a remainder of 210.
The next digit of our result is 5. 
Result so far: 24260.5
If we subtract 3330 from 3540, we get 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Let's proceed to step 10:
When dividing 2100 by 666, we get 3 with a remainder of 102.
Put 3 as the next digit of the answer. 
Result so far: 24260.53
Deduct 1998 from 2100 and we're left with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Advancing to step 11:
The number 666 fits into 1020 1 times, leaving a remainder of 354.
Put 1 as the next digit of the answer. 
Result so far: 24260.531
If we take 666 away from 1020, we end up with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

On to step 12:
When dividing 3540 by 666, we get 5 with a remainder of 210.
Write down 5 as next digit of the result. 
Result so far: 24260.5315
Deduct 3330 from 3540 and we're left with 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Step 13:
The number 666 fits into 2100 3 times, leaving a remainder of 102.
Use 3 as the next digit of our solution. 
Result so far: 24260.53153
If we take 1998 away from 2100, we end up with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

Advancing to step 14:
666 can be fit into 1020 1 times, resulting in a remainder of 354.
The number 1 becomes the next digit in our result. 
Result so far: 24260.531531
If we take 666 away from 1020, we end up with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

On to step 15:
The number 666 fits into 3540 5 times, leaving a remainder of 210.
The next digit of our result is 5. 
Result so far: 24260.5315315
Subtract 3330 from 3540 to get 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2100, and continue the process.

Let's proceed to step 16:
666 can be fit into 2100 3 times, resulting in a remainder of 102.
The number 3 becomes the next digit in our result. 
Result so far: 24260.53153153
Deduct 1998 from 2100 and we're left with 102.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1020, and continue the process.

The final outcome is 24260.53153153, with a leftover of 1.02e-07.