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

Advancing to step 1:
5 divided by 54 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 54

On to step 2:
When dividing 59 by 54, we get 1 with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 54 from 59 leaves us with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 54

Step 3:
57 divided by 54 is 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 11.0
If we subtract 54 from 57, we get 3.
Take the next digit (3) from the dividend and append it to 3, then repeat: 33 / 54

On to step 4:
If we divide 33 by 54, we get 0 and a remainder of 33.
Put 0 as the next digit of the answer. 
Result so far: 110.0
Deduct 0 from 33 and we're left with 33.
Append the next digit (6) from the dividend to 33 and continue with: 336 / 54

Going ahead to step 5:
336 divided by 54 is 6 with a remainder of 12.
The number 6 becomes the next digit in our result. 
Result so far: 1106.0
Deduct 324 from 336 and we're left with 12.
Append the next digit (5) from the dividend to 12 and continue with: 125 / 54

On to step 6:
54 can be fit into 125 2 times, resulting in a remainder of 17.
Put 2 as the next digit of the answer. 
Result so far: 11062.0
If we subtract 108 from 125, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 7:
When dividing 170 by 54, we get 3 with a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 11062.3
Deduct 162 from 170 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.

Let's proceed to step 8:
When dividing 80 by 54, we get 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 11062.31
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.

Step 9:
54 can be fit into 260 4 times, resulting in a remainder of 44.
The next digit of our result is 4. 
Result so far: 11062.314
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.

On to step 10:
440 divided by 54 is 8 with a remainder of 8.
The number 8 becomes the next digit in our result. 
Result so far: 11062.3148
Subtracting 432 from 440 leaves us 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.

Going ahead 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: 11062.31481
If we subtract 54 from 80, we 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.

On to step 12:
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: 11062.314814
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.

Advancing to step 13:
When dividing 440 by 54, we get 8 with a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 11062.3148148
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.

Advancing to step 14:
80 divided by 54 is 1 with a remainder of 26.
Use 1 as the next digit of our solution. 
Result so far: 11062.31481481
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.

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