We divide 397185 by 54
The aim is to understand the frequency of 54 in 397185.

Step 1:
54 goes into 3 0 times with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 54

Advancing to step 2:
54 can be fit into 39 0 times, resulting in a remainder of 39.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 39 leaves us with 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 54

Let's proceed to step 3:
397 divided by 54 is 7 with a remainder of 19.
The number 7 becomes the next digit in our result. 
Result so far: 7.0
Deduct 378 from 397 and we're left with 19.
Bring next digit (1) of the dividend behind the 19 and repeat the process: 191 / 54

Advancing to step 4:
54 can be fit into 191 3 times, resulting in a remainder of 29.
The next digit of our result is 3. 
Result so far: 73.0
Deduct 162 from 191 and we're left with 29.
Include the next digit (8) from the dividend after 29, then repeat: 298 / 54

Going ahead to step 5:
If we divide 298 by 54, we get 5 and a remainder of 28.
The number 5 becomes the next digit in our result. 
Result so far: 735.0
The remainder is 28 after subtracting 270 from 298.
Append the next digit (5) from the dividend to 28 and continue with: 285 / 54

Step 6:
The number 54 fits into 285 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 7355.0
Subtracting 270 from 285 leaves us with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 7:
54 goes into 150 2 times with a remainder of 42.
The number 2 becomes the next digit in our result. 
Result so far: 7355.2
If we take 108 away from 150, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Moving on to step 8:
54 goes into 420 7 times with a remainder of 42.
The next digit of our result is 7. 
Result so far: 7355.27
Deduct 378 from 420 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Let's proceed to step 9:
54 can be fit into 420 7 times, resulting in a remainder of 42.
Write down 7 as next digit of the result. 
Result so far: 7355.277
If we take 378 away from 420, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Our division results in 7355.277 with a remaining 0.0042.