Let's divide 563188 by 31
Let's see how many times 31 fits into 563188.

Moving on to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (6) from the dividend to 5 and continue with: 56 / 31

Let's proceed to step 2:
When dividing 56 by 31, we get 1 with a remainder of 25.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 56, we get 25.
Append the next digit (3) from the dividend to 25 and continue with: 253 / 31

Advancing to step 3:
253 divided by 31 is 8 with a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 18.0
The remainder is 5 after subtracting 248 from 253.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 31

Let's proceed to step 4:
51 divided by 31 is 1 with a remainder of 20.
Record the quotient 1 as the next digit in the result. 
Result so far: 181.0
Subtract 31 from 51 to get 20.
Grab the next digit (8) from the dividend, add it to 20, then carry on: 208 / 31

Step 5:
The number 31 fits into 208 6 times, leaving a remainder of 22.
Record the quotient 6 as the next digit in the result. 
Result so far: 1816.0
If we take 186 away from 208, we end up with 22.
Append the next digit (8) from the dividend to 22 and continue with: 228 / 31

Advancing to step 6:
31 goes into 228 7 times with a remainder of 11.
Put 7 as the next digit of the answer. 
Result so far: 18167.0
Subtracting 217 from 228 leaves us 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.

Going ahead to step 7:
If we divide 110 by 31, we get 3 and a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 18167.3
If we take 93 away from 110, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 8:
The number 31 fits into 170 5 times, leaving a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 18167.35
Subtract 155 from 170 to 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 9:
150 divided by 31 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 18167.354
If we subtract 124 from 150, we get 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 10:
31 goes into 260 8 times with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 18167.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 11:
When dividing 120 by 31, we get 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 18167.35483
Subtracting 93 from 120 leaves us 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.

Advancing to step 12:
When dividing 270 by 31, we get 8 with a remainder of 22.
The next digit of our result is 8. 
Result so far: 18167.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.

Moving on to step 13:
31 goes into 220 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 18167.3548387
If we take 217 away from 220, we end up 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 14:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 18167.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.

In conclusion, the division gives 18167.3548387 with a balance of 3e-08.