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

Advancing to step 1:
7 divided by 54 is 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 54

On to step 2:
79 divided by 54 is 1 with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 54 from 79 to get 25.
Fetch the next digit (3) from the dividend, attach it to 25 and continue: 253 / 54

Going ahead to step 3:
54 can be fit into 253 4 times, resulting in a remainder of 37.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
If we subtract 216 from 253, we get 37.
Include the next digit (1) from the dividend after 37, then repeat: 371 / 54

On to step 4:
54 goes into 371 6 times with a remainder of 47.
Write down 6 as next digit of the result. 
Result so far: 146.0
If we subtract 324 from 371, we get 47.
Take the next digit (4) from the dividend and append it to 47, then repeat: 474 / 54

Advancing to step 5:
54 can be fit into 474 8 times, resulting in a remainder of 42.
Use 8 as the next digit of our solution. 
Result so far: 1468.0
The remainder is 42 after subtracting 432 from 474.
Bring next digit (2) of the dividend behind the 42 and repeat the process: 422 / 54

On to step 6:
If we divide 422 by 54, we get 7 and a remainder of 44.
Use 7 as the next digit of our solution. 
Result so far: 14687.0
If we subtract 378 from 422, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 7:
The number 54 fits into 440 8 times, leaving a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 14687.8
If we take 432 away from 440, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 8:
If we divide 80 by 54, we get 1 and a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 14687.81
Subtract 54 from 80 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 9:
260 divided by 54 is 4 with a remainder of 44.
Put 4 as the next digit of the answer. 
Result so far: 14687.814
If we subtract 216 from 260, we get 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 10:
If we divide 440 by 54, we get 8 and a remainder of 8.
Record the quotient 8 as the next digit in the result. 
Result so far: 14687.8148
Deduct 432 from 440 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
When dividing 80 by 54, we get 1 with a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 14687.81481
Deduct 54 from 80 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 12:
260 divided by 54 is 4 with a remainder of 44.
Record the quotient 4 as the next digit in the result. 
Result so far: 14687.814814
Subtracting 216 from 260 leaves us with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 13:
If we divide 440 by 54, we get 8 and a remainder of 8.
The next digit of our result is 8. 
Result so far: 14687.8148148
Subtract 432 from 440 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 14:
54 can be fit into 80 1 times, resulting in a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 14687.81481481
The remainder is 26 after subtracting 54 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

In conclusion, the division gives 14687.81481481 with a balance of 2.6e-08.