We look at the division of 511588 by 54 
The aim is to understand the frequency of 54 in 511588.

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

Moving on to step 2:
When dividing 51 by 54, we get 0 with a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 51 to get 51.
Fetch the next digit (1) from the dividend, attach it to 51 and continue: 511 / 54

Advancing to step 3:
When dividing 511 by 54, we get 9 with a remainder of 25.
Write down 9 as next digit of the result. 
Result so far: 9.0
If we take 486 away from 511, we end up with 25.
Include the next digit (5) from the dividend after 25, then repeat: 255 / 54

Let's proceed to step 4:
The number 54 fits into 255 4 times, leaving a remainder of 39.
The number 4 becomes the next digit in our result. 
Result so far: 94.0
Subtracting 216 from 255 leaves us with 39.
Bring next digit (8) of the dividend behind the 39 and repeat the process: 398 / 54

Let's proceed to step 5:
398 divided by 54 is 7 with a remainder of 20.
Use 7 as the next digit of our solution. 
Result so far: 947.0
Deduct 378 from 398 and we're left with 20.
Bring next digit (8) of the dividend behind the 20 and repeat the process: 208 / 54

Advancing to step 6:
If we divide 208 by 54, we get 3 and a remainder of 46.
Use 3 as the next digit of our solution. 
Result so far: 9473.0
If we take 162 away from 208, we end up with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 7:
460 divided by 54 is 8 with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 9473.8
Subtract 432 from 460 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 8:
The number 54 fits into 280 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 9473.85
If we subtract 270 from 280, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 9:
When dividing 100 by 54, we get 1 with a remainder of 46.
The number 1 becomes the next digit in our result. 
Result so far: 9473.851
Subtract 54 from 100 to get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Moving on to step 10:
460 divided by 54 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 9473.8518
Subtract 432 from 460 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

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

Moving on to step 12:
54 goes into 100 1 times with a remainder of 46.
Write down 1 as next digit of the result. 
Result so far: 9473.851851
Subtracting 54 from 100 leaves us with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Step 13:
The number 54 fits into 460 8 times, leaving a remainder of 28.
The next digit of our result is 8. 
Result so far: 9473.8518518
The remainder is 28 after subtracting 432 from 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 14:
54 goes into 280 5 times with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 9473.85185185
Subtracting 270 from 280 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 9473.85185185, with a leftover of 1e-08.