We're dividing 471218 by 54 
The aim is to understand the frequency of 54 in 471218.

Step 1:
The number 54 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 54

Advancing to step 2:
The number 54 fits into 47 0 times, leaving a remainder of 47.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 47 leaves us with 47.
Bring next digit (1) of the dividend behind the 47 and repeat the process: 471 / 54

Moving on to step 3:
If we divide 471 by 54, we get 8 and a remainder of 39.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtracting 432 from 471 leaves us with 39.
Append the next digit (2) from the dividend to 39 and continue with: 392 / 54

Advancing to step 4:
392 divided by 54 is 7 with a remainder of 14.
The number 7 becomes the next digit in our result. 
Result so far: 87.0
If we subtract 378 from 392, we get 14.
Append the next digit (1) from the dividend to 14 and continue with: 141 / 54

Let's proceed to step 5:
54 can be fit into 141 2 times, resulting in a remainder of 33.
Put 2 as the next digit of the answer. 
Result so far: 872.0
The remainder is 33 after subtracting 108 from 141.
Include the next digit (8) from the dividend after 33, then repeat: 338 / 54

Let's proceed to step 6:
54 goes into 338 6 times with a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 8726.0
Deduct 324 from 338 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.

Advancing to step 7:
54 can be fit into 140 2 times, resulting in a remainder of 32.
The next digit of our result is 2. 
Result so far: 8726.2
If we take 108 away from 140, 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.

Moving on to step 8:
The number 54 fits into 320 5 times, leaving a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 8726.25
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.

Advancing to step 9:
When dividing 500 by 54, we get 9 with a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 8726.259
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.

Let's proceed to step 10:
The number 54 fits into 140 2 times, leaving a remainder of 32.
Write down 2 as next digit of the result. 
Result so far: 8726.2592
Subtract 108 from 140 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Advancing to step 11:
If we divide 320 by 54, we get 5 and a remainder of 50.
The number 5 becomes the next digit in our result. 
Result so far: 8726.25925
If we take 270 away from 320, we end up 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 12:
If we divide 500 by 54, we get 9 and a remainder of 14.
Put 9 as the next digit of the answer. 
Result so far: 8726.259259
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.

Moving on to step 13:
54 can be fit into 140 2 times, resulting in a remainder of 32.
The next digit of our result is 2. 
Result so far: 8726.2592592
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.

Going ahead to step 14:
When dividing 320 by 54, we get 5 with a remainder of 50.
The next digit of our result is 5. 
Result so far: 8726.25925925
If we subtract 270 from 320, we get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

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