We're dividing 997919 by 54 
The aim is to understand the frequency of 54 in 997919.

Advancing to step 1:
When dividing 9 by 54, we get 0 with a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 9 after subtracting 0 from 9.
Append the next digit (9) from the dividend to 9 and continue with: 99 / 54

On to step 2:
54 goes into 99 1 times with a remainder of 45.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 54 away from 99, we end up with 45.
Take the next digit (7) from the dividend and append it to 45, then repeat: 457 / 54

Moving on to step 3:
54 goes into 457 8 times with a remainder of 25.
The next digit of our result is 8. 
Result so far: 18.0
If we take 432 away from 457, we end up with 25.
Fetch the next digit (9) from the dividend, attach it to 25 and continue: 259 / 54

On to step 4:
The number 54 fits into 259 4 times, leaving a remainder of 43.
Use 4 as the next digit of our solution. 
Result so far: 184.0
Subtract 216 from 259 to get 43.
Bring next digit (1) of the dividend behind the 43 and repeat the process: 431 / 54

On to step 5:
54 can be fit into 431 7 times, resulting in a remainder of 53.
Use 7 as the next digit of our solution. 
Result so far: 1847.0
If we take 378 away from 431, we end up with 53.
Bring next digit (9) of the dividend behind the 53 and repeat the process: 539 / 54

Going ahead to step 6:
54 goes into 539 9 times with a remainder of 53.
The number 9 becomes the next digit in our result. 
Result so far: 18479.0
If we take 486 away from 539, we end up with 53.
Since there are no more digits in the dividend, we add a zero to the remainder making it 530, and continue the process.

Step 7:
54 goes into 530 9 times with a remainder of 44.
The number 9 becomes the next digit in our result. 
Result so far: 18479.9
The remainder is 44 after subtracting 486 from 530.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 8:
When dividing 440 by 54, we get 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 18479.98
If we subtract 432 from 440, we 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.

Step 9:
54 can be fit into 80 1 times, resulting in a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 18479.981
Subtracting 54 from 80 leaves us 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.

On to step 10:
The number 54 fits into 260 4 times, leaving a remainder of 44.
The number 4 becomes the next digit in our result. 
Result so far: 18479.9814
The remainder is 44 after subtracting 216 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 11:
54 goes into 440 8 times with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 18479.98148
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.

Step 12:
54 can be fit into 80 1 times, resulting in a remainder of 26.
Record the quotient 1 as the next digit in the result. 
Result so far: 18479.981481
If we take 54 away from 80, we end up 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.

Moving on to step 13:
If we divide 260 by 54, we get 4 and a remainder of 44.
The number 4 becomes the next digit in our result. 
Result so far: 18479.9814814
Subtract 216 from 260 to 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 14:
If we divide 440 by 54, we get 8 and a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 18479.98148148
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.

The quotient of the division is 18479.98148148, and the remainder is 8e-09.