We're dividing 558825 by 31 
We're looking to find how many times 31 goes into 558825.

Step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Append the next digit (5) from the dividend to 5 and continue with: 55 / 31

Going ahead to step 2:
55 divided by 31 is 1 with a remainder of 24.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 31 from 55 and we're left with 24.
Take the next digit (8) from the dividend and append it to 24, then repeat: 248 / 31

Let's proceed to step 3:
The number 31 fits into 248 8 times, leaving a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 18.0
If we subtract 248 from 248, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 31

Step 4:
The number 31 fits into 8 0 times, leaving a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 180.0
If we take 0 away from 8, we end up with 8.
Take the next digit (2) from the dividend and append it to 8, then repeat: 82 / 31

On to step 5:
31 goes into 82 2 times with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 1802.0
Subtracting 62 from 82 leaves us with 20.
Include the next digit (5) from the dividend after 20, then repeat: 205 / 31

Step 6:
205 divided by 31 is 6 with a remainder of 19.
Write down 6 as next digit of the result. 
Result so far: 18026.0
Deduct 186 from 205 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 7:
When dividing 190 by 31, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 18026.6
Subtract 186 from 190 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.

Advancing to step 8:
If we divide 40 by 31, we get 1 and a remainder of 9.
The next digit of our result is 1. 
Result so far: 18026.61
The remainder is 9 after subtracting 31 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 9:
If we divide 90 by 31, we get 2 and a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 18026.612
Deduct 62 from 90 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 10:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 18026.6129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 11:
31 goes into 10 0 times with a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 18026.6129
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 12:
31 goes into 100 3 times with a remainder of 7.
Use 3 as the next digit of our solution. 
Result so far: 18026.612903
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 13:
If we divide 70 by 31, we get 2 and a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 18026.6129032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 14:
31 goes into 80 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 18026.61290322
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 18026.61290322 with a remainder of 1.8e-08.