We divide 1566416 by 502
The aim is to understand the frequency of 502 in 1566416.

Step 1:
1 divided by 502 is 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 502

On to step 2:
If we divide 15 by 502, we get 0 and a remainder of 15.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 15 and we're left with 15.
Append the next digit (6) from the dividend to 15 and continue with: 156 / 502

Let's proceed to step 3:
156 divided by 502 is 0 with a remainder of 156.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 156, we end up with 156.
Take the next digit (6) from the dividend and append it to 156, then repeat: 1566 / 502

Moving on to step 4:
502 can be fit into 1566 3 times, resulting in a remainder of 60.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we subtract 1506 from 1566, we get 60.
Include the next digit (4) from the dividend after 60, then repeat: 604 / 502

Let's proceed to step 5:
604 divided by 502 is 1 with a remainder of 102.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
If we subtract 502 from 604, we get 102.
Include the next digit (1) from the dividend after 102, then repeat: 1021 / 502

On to step 6:
1021 divided by 502 is 2 with a remainder of 17.
Put 2 as the next digit of the answer. 
Result so far: 312.0
The remainder is 17 after subtracting 1004 from 1021.
Grab the next digit (6) from the dividend, add it to 17, then carry on: 176 / 502

Moving on to step 7:
502 can be fit into 176 0 times, resulting in a remainder of 176.
Put 0 as the next digit of the answer. 
Result so far: 3120.0
The remainder is 176 after subtracting 0 from 176.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1760, and continue the process.

Moving on to step 8:
502 can be fit into 1760 3 times, resulting in a remainder of 254.
The next digit of our result is 3. 
Result so far: 3120.3
If we take 1506 away from 1760, we end up with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

On to step 9:
2540 divided by 502 is 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 3120.35
Deduct 2510 from 2540 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.

Step 10:
If we divide 300 by 502, we get 0 and a remainder of 300.
The next digit of our result is 0. 
Result so far: 3120.35
The remainder is 300 after subtracting 0 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Advancing to step 11:
502 can be fit into 3000 5 times, resulting in a remainder of 490.
Use 5 as the next digit of our solution. 
Result so far: 3120.3505
Subtract 2510 from 3000 to get 490.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4900, and continue the process.

On to step 12:
502 can be fit into 4900 9 times, resulting in a remainder of 382.
Write down 9 as next digit of the result. 
Result so far: 3120.35059
Deduct 4518 from 4900 and we're left with 382.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3820, and continue the process.

On to step 13:
3820 divided by 502 is 7 with a remainder of 306.
The number 7 becomes the next digit in our result. 
Result so far: 3120.350597
Deduct 3514 from 3820 and we're left with 306.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3060, and continue the process.

On to step 14:
3060 divided by 502 is 6 with a remainder of 48.
Write down 6 as next digit of the result. 
Result so far: 3120.3505976
Subtracting 3012 from 3060 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 15:
502 goes into 480 0 times with a remainder of 480.
Put 0 as the next digit of the answer. 
Result so far: 3120.3505976
If we subtract 0 from 480, we get 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

The quotient of the division is 3120.3505976, and the remainder is 4.8e-07.