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

Step 1:
If we divide 5 by 54, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 54

On to step 2:
The number 54 fits into 52 0 times, leaving a remainder of 52.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 52 and we're left with 52.
Take the next digit (1) from the dividend and append it to 52, then repeat: 521 / 54

Let's proceed to step 3:
54 can be fit into 521 9 times, resulting in a remainder of 35.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
The remainder is 35 after subtracting 486 from 521.
Grab the next digit (3) from the dividend, add it to 35, then carry on: 353 / 54

Advancing to step 4:
54 can be fit into 353 6 times, resulting in a remainder of 29.
Record the quotient 6 as the next digit in the result. 
Result so far: 96.0
The remainder is 29 after subtracting 324 from 353.
Take the next digit (7) from the dividend and append it to 29, then repeat: 297 / 54

Let's proceed to step 5:
When dividing 297 by 54, we get 5 with a remainder of 27.
Put 5 as the next digit of the answer. 
Result so far: 965.0
If we subtract 270 from 297, we get 27.
Grab the next digit (1) from the dividend, add it to 27, then carry on: 271 / 54

Moving on to step 6:
271 divided by 54 is 5 with a remainder of 1.
The next digit of our result is 5. 
Result so far: 9655.0
If we subtract 270 from 271, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
When dividing 10 by 54, we get 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 9655.0
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 8:
When dividing 100 by 54, we get 1 with a remainder of 46.
The next digit of our result is 1. 
Result so far: 9655.01
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.

Step 9:
54 goes into 460 8 times with a remainder of 28.
The next digit of our result is 8. 
Result so far: 9655.018
Subtracting 432 from 460 leaves us 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.

Moving on to step 10:
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: 9655.0185
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.

Moving on to step 11:
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: 9655.01851
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.

Let's proceed to step 12:
54 goes into 460 8 times with a remainder of 28.
Write down 8 as next digit of the result. 
Result so far: 9655.018518
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.

On to step 13:
If we divide 280 by 54, we get 5 and a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 9655.0185185
The remainder is 10 after subtracting 270 from 280.
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 14:
100 divided by 54 is 1 with a remainder of 46.
The number 1 becomes the next digit in our result. 
Result so far: 9655.01851851
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.

The quotient of the division is 9655.01851851, and the remainder is 4.6e-08.