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

On to step 1:
The number 54 fits into 7 0 times, leaving a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 54

On to step 2:
When dividing 78 by 54, we get 1 with a remainder of 24.
The next digit of our result is 1. 
Result so far: 1.0
If we take 54 away from 78, we end up with 24.
Take the next digit (2) from the dividend and append it to 24, then repeat: 242 / 54

Advancing to step 3:
242 divided by 54 is 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 14.0
The remainder is 26 after subtracting 216 from 242.
Bring next digit (5) of the dividend behind the 26 and repeat the process: 265 / 54

Going ahead to step 4:
When dividing 265 by 54, we get 4 with a remainder of 49.
Record the quotient 4 as the next digit in the result. 
Result so far: 144.0
If we take 216 away from 265, we end up with 49.
Include the next digit (4) from the dividend after 49, then repeat: 494 / 54

Moving on to step 5:
54 goes into 494 9 times with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 1449.0
If we subtract 486 from 494, we get 8.
Append the next digit (8) from the dividend to 8 and continue with: 88 / 54

On to step 6:
The number 54 fits into 88 1 times, leaving a remainder of 34.
Record the quotient 1 as the next digit in the result. 
Result so far: 14491.0
Subtract 54 from 88 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 7:
When dividing 340 by 54, we get 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 14491.6
Deduct 324 from 340 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 8:
If we divide 160 by 54, we get 2 and a remainder of 52.
Write down 2 as next digit of the result. 
Result so far: 14491.62
The remainder is 52 after subtracting 108 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Step 9:
54 goes into 520 9 times with a remainder of 34.
Write down 9 as next digit of the result. 
Result so far: 14491.629
Subtract 486 from 520 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 10:
340 divided by 54 is 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 14491.6296
If we take 324 away from 340, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 11:
When dividing 160 by 54, we get 2 with a remainder of 52.
Use 2 as the next digit of our solution. 
Result so far: 14491.62962
If we take 108 away from 160, we end up with 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Going ahead to step 12:
54 can be fit into 520 9 times, resulting in a remainder of 34.
Record the quotient 9 as the next digit in the result. 
Result so far: 14491.629629
Subtract 486 from 520 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 13:
54 goes into 340 6 times with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 14491.6296296
Subtract 324 from 340 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 14:
If we divide 160 by 54, we get 2 and a remainder of 52.
The number 2 becomes the next digit in our result. 
Result so far: 14491.62962962
If we subtract 108 from 160, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final outcome is 14491.62962962, with a leftover of 5.2e-08.