Let's divide 545702 by 54
The aim is to understand the frequency of 54 in 545702.

On to step 1:
If we divide 5 by 54, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (4) from the dividend, add it to 5, then carry on: 54 / 54

Advancing to step 2:
54 goes into 54 1 times with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 54 from 54 leaves us with 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 54

Advancing to step 3:
When dividing 5 by 54, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (7) of the dividend behind the 5 and repeat the process: 57 / 54

On to step 4:
54 goes into 57 1 times with a remainder of 3.
The next digit of our result is 1. 
Result so far: 101.0
If we subtract 54 from 57, we get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 54

On to step 5:
30 divided by 54 is 0 with a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 1010.0
If we subtract 0 from 30, we get 30.
Take the next digit (2) from the dividend and append it to 30, then repeat: 302 / 54

Advancing to step 6:
When dividing 302 by 54, we get 5 with a remainder of 32.
Put 5 as the next digit of the answer. 
Result so far: 10105.0
If we take 270 away from 302, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 7:
320 divided by 54 is 5 with a remainder of 50.
The next digit of our result is 5. 
Result so far: 10105.5
Deduct 270 from 320 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 8:
When dividing 500 by 54, we get 9 with a remainder of 14.
Put 9 as the next digit of the answer. 
Result so far: 10105.59
Deduct 486 from 500 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
If we divide 140 by 54, we get 2 and a remainder of 32.
Record the quotient 2 as the next digit in the result. 
Result so far: 10105.592
Subtracting 108 from 140 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Let's proceed to step 10:
54 goes into 320 5 times with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 10105.5925
The remainder is 50 after subtracting 270 from 320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 11:
The number 54 fits into 500 9 times, leaving a remainder of 14.
The next digit of our result is 9. 
Result so far: 10105.59259
The remainder is 14 after subtracting 486 from 500.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 12:
If we divide 140 by 54, we get 2 and a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 10105.592592
Subtracting 108 from 140 leaves us with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 13:
When dividing 320 by 54, we get 5 with a remainder of 50.
Write down 5 as next digit of the result. 
Result so far: 10105.5925925
Deduct 270 from 320 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Let's proceed to step 14:
If we divide 500 by 54, we get 9 and a remainder of 14.
The next digit of our result is 9. 
Result so far: 10105.59259259
Subtract 486 from 500 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

After the division, we end up with 10105.59259259 and a remainder of 1.4e-08.