We look at the division of 54069866 by 501 
The aim is to understand the frequency of 501 in 54069866.

On to step 1:
When dividing 5 by 501, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Take the next digit (4) from the dividend and append it to 5, then repeat: 54 / 501

Step 2:
501 goes into 54 0 times with a remainder of 54.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 54 after subtracting 0 from 54.
Take the next digit (0) from the dividend and append it to 54, then repeat: 540 / 501

Let's proceed to step 3:
If we divide 540 by 501, we get 1 and a remainder of 39.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 501 from 540 and we're left with 39.
Append the next digit (6) from the dividend to 39 and continue with: 396 / 501

Let's proceed to step 4:
When dividing 396 by 501, we get 0 with a remainder of 396.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 396 and we're left with 396.
Bring next digit (9) of the dividend behind the 396 and repeat the process: 3969 / 501

Moving on to step 5:
When dividing 3969 by 501, we get 7 with a remainder of 462.
The number 7 becomes the next digit in our result. 
Result so far: 107.0
Deduct 3507 from 3969 and we're left with 462.
Append the next digit (8) from the dividend to 462 and continue with: 4628 / 501

Let's proceed to step 6:
If we divide 4628 by 501, we get 9 and a remainder of 119.
The number 9 becomes the next digit in our result. 
Result so far: 1079.0
Subtracting 4509 from 4628 leaves us with 119.
Fetch the next digit (6) from the dividend, attach it to 119 and continue: 1196 / 501

Going ahead to step 7:
The number 501 fits into 1196 2 times, leaving a remainder of 194.
Use 2 as the next digit of our solution. 
Result so far: 10792.0
If we subtract 1002 from 1196, we get 194.
Bring next digit (6) of the dividend behind the 194 and repeat the process: 1946 / 501

Step 8:
If we divide 1946 by 501, we get 3 and a remainder of 443.
The next digit of our result is 3. 
Result so far: 107923.0
Subtracting 1503 from 1946 leaves us with 443.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4430, and continue the process.

On to step 9:
501 goes into 4430 8 times with a remainder of 422.
Write down 8 as next digit of the result. 
Result so far: 107923.8
Subtracting 4008 from 4430 leaves us with 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Advancing to step 10:
The number 501 fits into 4220 8 times, leaving a remainder of 212.
Write down 8 as next digit of the result. 
Result so far: 107923.88
Deduct 4008 from 4220 and we're left with 212.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2120, and continue the process.

The quotient of the division is 107923.88, and the remainder is 0.212.