We look at the division of 558367 by 31 
Let's see how many times 31 fits into 558367.

Let's proceed to step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Bring next digit (5) of the dividend behind the 5 and repeat the process: 55 / 31

Moving on to step 2:
31 goes into 55 1 times with a remainder of 24.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 31 from 55 to get 24.
Take the next digit (8) from the dividend and append it to 24, then repeat: 248 / 31

Moving on to step 3:
31 can be fit into 248 8 times, resulting in a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 248 from 248 to get 0.
Include the next digit (3) from the dividend after 0, then repeat: 3 / 31

Let's proceed to step 4:
When dividing 3 by 31, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 180.0
If we take 0 away from 3, we end up with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 31

Moving on to step 5:
31 goes into 36 1 times with a remainder of 5.
Put 1 as the next digit of the answer. 
Result so far: 1801.0
Deduct 31 from 36 and we're left with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 31

Step 6:
57 divided by 31 is 1 with a remainder of 26.
The next digit of our result is 1. 
Result so far: 18011.0
If we take 31 away from 57, we end up 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.

Let's proceed to step 7:
When dividing 260 by 31, we get 8 with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 18011.8
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 18011.83
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 9:
When dividing 270 by 31, we get 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 18011.838
If we subtract 248 from 270, 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.

Advancing to step 10:
31 goes into 220 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 18011.8387
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 11:
30 divided by 31 is 0 with a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 18011.8387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 18011.838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 13:
31 goes into 210 6 times with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 18011.8387096
Subtracting 186 from 210 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 14:
31 can be fit into 240 7 times, resulting in a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 18011.83870967
Subtracting 217 from 240 leaves us with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

The final result is 18011.83870967 with a remainder of 2.3e-08.