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

Step 1:
When dividing 3 by 54, we get 0 with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 54

Going ahead to step 2:
54 goes into 31 0 times with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Append the next digit (0) from the dividend to 31 and continue with: 310 / 54

Let's proceed to step 3:
When dividing 310 by 54, we get 5 with a remainder of 40.
Use 5 as the next digit of our solution. 
Result so far: 5.0
Subtracting 270 from 310 leaves us with 40.
Fetch the next digit (1) from the dividend, attach it to 40 and continue: 401 / 54

Going ahead to step 4:
When dividing 401 by 54, we get 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 57.0
If we take 378 away from 401, we end up with 23.
Take the next digit (9) from the dividend and append it to 23, then repeat: 239 / 54

Step 5:
The number 54 fits into 239 4 times, leaving a remainder of 23.
Use 4 as the next digit of our solution. 
Result so far: 574.0
The remainder is 23 after subtracting 216 from 239.
Bring next digit (9) of the dividend behind the 23 and repeat the process: 239 / 54

On to step 6:
When dividing 239 by 54, we get 4 with a remainder of 23.
Record the quotient 4 as the next digit in the result. 
Result so far: 5744.0
If we subtract 216 from 239, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 7:
When dividing 230 by 54, we get 4 with a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 5744.4
If we take 216 away from 230, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 8:
54 can be fit into 140 2 times, resulting in a remainder of 32.
The number 2 becomes the next digit in our result. 
Result so far: 5744.42
If we subtract 108 from 140, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 9:
54 goes into 320 5 times with a remainder of 50.
Use 5 as the next digit of our solution. 
Result so far: 5744.425
Deduct 270 from 320 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

On to step 10:
54 goes into 500 9 times with a remainder of 14.
The number 9 becomes the next digit in our result. 
Result so far: 5744.4259
Subtract 486 from 500 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 11:
140 divided by 54 is 2 with a remainder of 32.
The next digit of our result is 2. 
Result so far: 5744.42592
If we subtract 108 from 140, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 12:
If we divide 320 by 54, we get 5 and a remainder of 50.
Put 5 as the next digit of the answer. 
Result so far: 5744.425925
Subtract 270 from 320 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 13:
If we divide 500 by 54, we get 9 and a remainder of 14.
The next digit of our result is 9. 
Result so far: 5744.4259259
Subtract 486 from 500 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 14:
The number 54 fits into 140 2 times, leaving a remainder of 32.
Use 2 as the next digit of our solution. 
Result so far: 5744.42592592
Subtract 108 from 140 to get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

The final outcome is 5744.42592592, with a leftover of 3.2e-08.