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

Advancing 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
Subtract 0 from 5 to get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 54

Moving on to step 2:
58 divided by 54 is 1 with a remainder of 4.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 54 away from 58, we end up with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 54

On to step 3:
When dividing 40 by 54, we get 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we take 0 away from 40, we end up with 40.
Bring next digit (8) of the dividend behind the 40 and repeat the process: 408 / 54

Advancing to step 4:
54 can be fit into 408 7 times, resulting in a remainder of 30.
Write down 7 as next digit of the result. 
Result so far: 107.0
Subtracting 378 from 408 leaves us with 30.
Fetch the next digit (0) from the dividend, attach it to 30 and continue: 300 / 54

On to step 5:
54 goes into 300 5 times with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 1075.0
If we take 270 away from 300, we end up with 30.
Bring next digit (7) of the dividend behind the 30 and repeat the process: 307 / 54

On to step 6:
If we divide 307 by 54, we get 5 and a remainder of 37.
Write down 5 as next digit of the result. 
Result so far: 10755.0
Subtracting 270 from 307 leaves us with 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 7:
If we divide 370 by 54, we get 6 and a remainder of 46.
The number 6 becomes the next digit in our result. 
Result so far: 10755.6
If we subtract 324 from 370, we 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.

Step 8:
When dividing 460 by 54, we get 8 with a remainder of 28.
The number 8 becomes the next digit in our result. 
Result so far: 10755.68
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 9:
If we divide 280 by 54, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 10755.685
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 10:
When dividing 100 by 54, we get 1 with a remainder of 46.
Put 1 as the next digit of the answer. 
Result so far: 10755.6851
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.

On to step 11:
460 divided by 54 is 8 with a remainder of 28.
Use 8 as the next digit of our solution. 
Result so far: 10755.68518
If we take 432 away from 460, we end up with 28.
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 12:
280 divided by 54 is 5 with a remainder of 10.
The next digit of our result is 5. 
Result so far: 10755.685185
Deduct 270 from 280 and we're left 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.

Advancing to step 13:
54 goes into 100 1 times with a remainder of 46.
Write down 1 as next digit of the result. 
Result so far: 10755.6851851
If we subtract 54 from 100, we 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.

On to step 14:
When dividing 460 by 54, we get 8 with a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 10755.68518518
Deduct 432 from 460 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The final outcome is 10755.68518518, with a leftover of 2.8e-08.