521217 divided by 54 
The aim is to understand the frequency of 54 in 521217.

On to step 1:
If we divide 5 by 54, we get 0 and a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 54

Moving on to step 2:
The number 54 fits into 52 0 times, leaving a remainder of 52.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 52 after subtracting 0 from 52.
Include the next digit (1) from the dividend after 52, then repeat: 521 / 54

Going ahead to step 3:
54 goes into 521 9 times with a remainder of 35.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
If we subtract 486 from 521, we get 35.
Include the next digit (2) from the dividend after 35, then repeat: 352 / 54

Advancing to step 4:
When dividing 352 by 54, we get 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 96.0
If we take 324 away from 352, we end up with 28.
Include the next digit (1) from the dividend after 28, then repeat: 281 / 54

Moving on to step 5:
If we divide 281 by 54, we get 5 and a remainder of 11.
The next digit of our result is 5. 
Result so far: 965.0
If we take 270 away from 281, we end up with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 54

Step 6:
54 can be fit into 117 2 times, resulting in a remainder of 9.
Record the quotient 2 as the next digit in the result. 
Result so far: 9652.0
The remainder is 9 after subtracting 108 from 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 7:
54 goes into 90 1 times with a remainder of 36.
The next digit of our result is 1. 
Result so far: 9652.1
Subtracting 54 from 90 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 8:
360 divided by 54 is 6 with a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 9652.16
If we subtract 324 from 360, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 9:
If we divide 360 by 54, we get 6 and a remainder of 36.
Write down 6 as next digit of the result. 
Result so far: 9652.166
Subtracting 324 from 360 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The final outcome is 9652.166, with a leftover of 0.0036.