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

Step 1:
When dividing 3 by 54, we get 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (9) from the dividend to 3 and continue with: 39 / 54

Let's proceed to step 2:
If we divide 39 by 54, we get 0 and a remainder of 39.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 39 to get 39.
Append the next digit (6) from the dividend to 39 and continue with: 396 / 54

On to step 3:
396 divided by 54 is 7 with a remainder of 18.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 18 after subtracting 378 from 396.
Grab the next digit (3) from the dividend, add it to 18, then carry on: 183 / 54

On to step 4:
When dividing 183 by 54, we get 3 with a remainder of 21.
Put 3 as the next digit of the answer. 
Result so far: 73.0
Subtract 162 from 183 to get 21.
Include the next digit (6) from the dividend after 21, then repeat: 216 / 54

Let's proceed to step 5:
54 can be fit into 216 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 734.0
If we take 216 away from 216, we end up with 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 54

On to step 6:
The number 54 fits into 8 0 times, leaving a remainder of 8.
The next digit of our result is 0. 
Result so far: 7340.0
If we take 0 away from 8, we end up 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.

On to step 7:
When dividing 80 by 54, we get 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 7340.1
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.

On to step 8:
When dividing 260 by 54, we get 4 with a remainder of 44.
The next digit of our result is 4. 
Result so far: 7340.14
Subtracting 216 from 260 leaves us with 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 9:
440 divided by 54 is 8 with a remainder of 8.
The next digit of our result is 8. 
Result so far: 7340.148
The remainder is 8 after subtracting 432 from 440.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 10:
80 divided by 54 is 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 7340.1481
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.

Going ahead to step 11:
The number 54 fits into 260 4 times, leaving a remainder of 44.
The next digit of our result is 4. 
Result so far: 7340.14814
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.

Moving on to step 12:
440 divided by 54 is 8 with a remainder of 8.
Put 8 as the next digit of the answer. 
Result so far: 7340.148148
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.

On to step 13:
80 divided by 54 is 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 7340.1481481
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.

On to step 14:
54 can be fit into 260 4 times, resulting in a remainder of 44.
The number 4 becomes the next digit in our result. 
Result so far: 7340.14814814
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.

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