987391 ÷ 54 
The aim is to understand the frequency of 54 in 987391.

Step 1:
If we divide 9 by 54, we get 0 and a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 54

Going ahead to step 2:
98 divided by 54 is 1 with a remainder of 44.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 44 after subtracting 54 from 98.
Grab the next digit (7) from the dividend, add it to 44, then carry on: 447 / 54

Advancing to step 3:
The number 54 fits into 447 8 times, leaving a remainder of 15.
Use 8 as the next digit of our solution. 
Result so far: 18.0
If we subtract 432 from 447, we get 15.
Include the next digit (3) from the dividend after 15, then repeat: 153 / 54

Advancing to step 4:
153 divided by 54 is 2 with a remainder of 45.
Use 2 as the next digit of our solution. 
Result so far: 182.0
Subtracting 108 from 153 leaves us with 45.
Bring next digit (9) of the dividend behind the 45 and repeat the process: 459 / 54

Let's proceed to step 5:
459 divided by 54 is 8 with a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 1828.0
If we subtract 432 from 459, we get 27.
Grab the next digit (1) from the dividend, add it to 27, then carry on: 271 / 54

Step 6:
54 can be fit into 271 5 times, resulting in a remainder of 1.
The next digit of our result is 5. 
Result so far: 18285.0
If we take 270 away from 271, we end up with 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:
10 divided by 54 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 18285.0
Deduct 0 from 10 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.

Let's proceed to step 8:
100 divided by 54 is 1 with a remainder of 46.
Put 1 as the next digit of the answer. 
Result so far: 18285.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:
If we divide 460 by 54, we get 8 and a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 18285.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.

Let's proceed to step 10:
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: 18285.0185
Subtract 270 from 280 to 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.

On to step 11:
The number 54 fits into 100 1 times, leaving a remainder of 46.
Record the quotient 1 as the next digit in the result. 
Result so far: 18285.01851
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.

Going ahead 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: 18285.018518
If we subtract 432 from 460, we 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.

Advancing to step 13:
The number 54 fits into 280 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 18285.0185185
If we take 270 away from 280, we end up 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.

Let's proceed to step 14:
The number 54 fits into 100 1 times, leaving a remainder of 46.
Put 1 as the next digit of the answer. 
Result so far: 18285.01851851
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.

After the division, we end up with 18285.01851851 and a remainder of 4.6e-08.