5608166 ÷ 502 
The aim is to understand the frequency of 502 in 5608166.

Let's proceed to step 1:
When dividing 5 by 502, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (6) from the dividend, attach it to 5 and continue: 56 / 502

On to step 2:
If we divide 56 by 502, we get 0 and a remainder of 56.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 56 after subtracting 0 from 56.
Bring next digit (0) of the dividend behind the 56 and repeat the process: 560 / 502

Going ahead to step 3:
502 can be fit into 560 1 times, resulting in a remainder of 58.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 58 after subtracting 502 from 560.
Take the next digit (8) from the dividend and append it to 58, then repeat: 588 / 502

Advancing to step 4:
502 goes into 588 1 times with a remainder of 86.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 502 from 588 to get 86.
Grab the next digit (1) from the dividend, add it to 86, then carry on: 861 / 502

On to step 5:
502 goes into 861 1 times with a remainder of 359.
The number 1 becomes the next digit in our result. 
Result so far: 111.0
Deduct 502 from 861 and we're left with 359.
Append the next digit (6) from the dividend to 359 and continue with: 3596 / 502

Step 6:
If we divide 3596 by 502, we get 7 and a remainder of 82.
Write down 7 as next digit of the result. 
Result so far: 1117.0
Deduct 3514 from 3596 and we're left with 82.
Grab the next digit (6) from the dividend, add it to 82, then carry on: 826 / 502

Let's proceed to step 7:
When dividing 826 by 502, we get 1 with a remainder of 324.
The next digit of our result is 1. 
Result so far: 11171.0
Subtracting 502 from 826 leaves us with 324.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

Going ahead to step 8:
If we divide 3240 by 502, we get 6 and a remainder of 228.
Write down 6 as next digit of the result. 
Result so far: 11171.6
Deduct 3012 from 3240 and we're left with 228.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2280, and continue the process.

On to step 9:
502 can be fit into 2280 4 times, resulting in a remainder of 272.
Write down 4 as next digit of the result. 
Result so far: 11171.64
If we subtract 2008 from 2280, we get 272.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2720, and continue the process.

Let's proceed to step 10:
When dividing 2720 by 502, we get 5 with a remainder of 210.
Put 5 as the next digit of the answer. 
Result so far: 11171.645
Deduct 2510 from 2720 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.

On to step 11:
When dividing 2100 by 502, we get 4 with a remainder of 92.
Use 4 as the next digit of our solution. 
Result so far: 11171.6454
Subtracting 2008 from 2100 leaves us with 92.
Since there are no more digits in the dividend, we add a zero to the remainder making it 920, and continue the process.

Step 12:
If we divide 920 by 502, we get 1 and a remainder of 418.
Write down 1 as next digit of the result. 
Result so far: 11171.64541
The remainder is 418 after subtracting 502 from 920.
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 13:
4180 divided by 502 is 8 with a remainder of 164.
Use 8 as the next digit of our solution. 
Result so far: 11171.645418
If we subtract 4016 from 4180, we get 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 14:
502 can be fit into 1640 3 times, resulting in a remainder of 134.
The number 3 becomes the next digit in our result. 
Result so far: 11171.6454183
Deduct 1506 from 1640 and we're left with 134.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1340, and continue the process.

On to step 15:
The number 502 fits into 1340 2 times, leaving a remainder of 336.
The next digit of our result is 2. 
Result so far: 11171.64541832
The remainder is 336 after subtracting 1004 from 1340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3360, and continue the process.

The final outcome is 11171.64541832, with a leftover of 3.36e-07.