Let's divide 312041 by 54
We want to divide 312041 by 54.

Let's proceed to step 1:
The number 54 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 54

Advancing to step 2:
The number 54 fits into 31 0 times, leaving a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (2) from the dividend after 31, then repeat: 312 / 54

On to step 3:
When dividing 312 by 54, we get 5 with a remainder of 42.
Write down 5 as next digit of the result. 
Result so far: 5.0
Deduct 270 from 312 and we're left with 42.
Bring next digit (0) of the dividend behind the 42 and repeat the process: 420 / 54

On to step 4:
54 goes into 420 7 times with a remainder of 42.
The next digit of our result is 7. 
Result so far: 57.0
Deduct 378 from 420 and we're left with 42.
Bring next digit (4) of the dividend behind the 42 and repeat the process: 424 / 54

Moving on to step 5:
The number 54 fits into 424 7 times, leaving a remainder of 46.
The number 7 becomes the next digit in our result. 
Result so far: 577.0
If we subtract 378 from 424, we get 46.
Append the next digit (1) from the dividend to 46 and continue with: 461 / 54

Going ahead to step 6:
If we divide 461 by 54, we get 8 and a remainder of 29.
Write down 8 as next digit of the result. 
Result so far: 5778.0
The remainder is 29 after subtracting 432 from 461.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 7:
290 divided by 54 is 5 with a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 5778.5
Deduct 270 from 290 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
The number 54 fits into 200 3 times, leaving a remainder of 38.
The next digit of our result is 3. 
Result so far: 5778.53
Subtract 162 from 200 to get 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Let's proceed to step 9:
When dividing 380 by 54, we get 7 with a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 5778.537
Subtracting 378 from 380 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 10:
20 divided by 54 is 0 with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 5778.537
If we subtract 0 from 20, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
200 divided by 54 is 3 with a remainder of 38.
Write down 3 as next digit of the result. 
Result so far: 5778.53703
If we take 162 away from 200, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 12:
When dividing 380 by 54, we get 7 with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 5778.537037
Deduct 378 from 380 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
54 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 5778.537037
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
54 can be fit into 200 3 times, resulting in a remainder of 38.
The next digit of our result is 3. 
Result so far: 5778.53703703
The remainder is 38 after subtracting 162 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

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