Let's divide 55842 by 31
We want to divide 55842 by 31.

Moving on to step 1:
31 goes into 5 0 times with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

Going ahead to step 2:
31 goes into 55 1 times with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 55 to get 24.
Bring next digit (8) of the dividend behind the 24 and repeat the process: 248 / 31

Moving on to step 3:
248 divided by 31 is 8 with a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 18.0
The remainder is 0 after subtracting 248 from 248.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 31

Moving on to step 4:
The number 31 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 180.0
The remainder is 4 after subtracting 0 from 4.
Grab the next digit (2) from the dividend, add it to 4, then carry on: 42 / 31

Advancing to step 5:
42 divided by 31 is 1 with a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1801.0
Deduct 31 from 42 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Step 6:
31 goes into 110 3 times with a remainder of 17.
The next digit of our result is 3. 
Result so far: 1801.3
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 7:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 1801.35
If we subtract 155 from 170, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
150 divided by 31 is 4 with a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 1801.354
Subtracting 124 from 150 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.

Advancing to step 9:
31 goes into 260 8 times with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 1801.3548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 10:
If we divide 120 by 31, we get 3 and a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 1801.35483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 11:
When dividing 270 by 31, we get 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 1801.354838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 12:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 1801.3548387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 1801.3548387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

The final outcome is 1801.3548387, with a leftover of 3e-08.