We divide 397588 by 54
We're looking to find how many times 54 goes into 397588.

Going ahead to step 1:
54 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (9) from the dividend and append it to 3, then repeat: 39 / 54

Step 2:
When dividing 39 by 54, we get 0 with a remainder of 39.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 39, we get 39.
Include the next digit (7) from the dividend after 39, then repeat: 397 / 54

On to step 3:
When dividing 397 by 54, we get 7 with a remainder of 19.
Write down 7 as next digit of the result. 
Result so far: 7.0
If we subtract 378 from 397, we get 19.
Bring next digit (5) of the dividend behind the 19 and repeat the process: 195 / 54

Advancing to step 4:
When dividing 195 by 54, we get 3 with a remainder of 33.
The number 3 becomes the next digit in our result. 
Result so far: 73.0
If we take 162 away from 195, we end up with 33.
Append the next digit (8) from the dividend to 33 and continue with: 338 / 54

On to step 5:
338 divided by 54 is 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 736.0
If we subtract 324 from 338, we get 14.
Fetch the next digit (8) from the dividend, attach it to 14 and continue: 148 / 54

Going ahead to step 6:
54 goes into 148 2 times with a remainder of 40.
The next digit of our result is 2. 
Result so far: 7362.0
If we take 108 away from 148, we end up with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Moving on to step 7:
The number 54 fits into 400 7 times, leaving a remainder of 22.
Put 7 as the next digit of the answer. 
Result so far: 7362.7
If we subtract 378 from 400, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
54 goes into 220 4 times with a remainder of 4.
Put 4 as the next digit of the answer. 
Result so far: 7362.74
Subtract 216 from 220 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
If we divide 40 by 54, we get 0 and a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 7362.74
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 10:
If we divide 400 by 54, we get 7 and a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 7362.7407
Subtracting 378 from 400 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 11:
54 can be fit into 220 4 times, resulting in a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 7362.74074
Deduct 216 from 220 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 12:
40 divided by 54 is 0 with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 7362.74074
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 13:
The number 54 fits into 400 7 times, leaving a remainder of 22.
Write down 7 as next digit of the result. 
Result so far: 7362.7407407
The remainder is 22 after subtracting 378 from 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
The number 54 fits into 220 4 times, leaving a remainder of 4.
Record the quotient 4 as the next digit in the result. 
Result so far: 7362.74074074
If we subtract 216 from 220, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The final outcome is 7362.74074074, with a leftover of 4e-09.