561067 ÷ 31 
We want to divide 561067 by 31.

Advancing to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Bring next digit (6) of the dividend behind the 5 and repeat the process: 56 / 31

On to step 2:
31 goes into 56 1 times with a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 56, we end up with 25.
Fetch the next digit (1) from the dividend, attach it to 25 and continue: 251 / 31

Going ahead to step 3:
31 can be fit into 251 8 times, resulting in a remainder of 3.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtracting 248 from 251 leaves us with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 31

On to step 4:
If we divide 30 by 31, we get 0 and a remainder of 30.
The next digit of our result is 0. 
Result so far: 180.0
Subtracting 0 from 30 leaves us with 30.
Grab the next digit (6) from the dividend, add it to 30, then carry on: 306 / 31

Let's proceed to step 5:
The number 31 fits into 306 9 times, leaving a remainder of 27.
The next digit of our result is 9. 
Result so far: 1809.0
If we subtract 279 from 306, we get 27.
Include the next digit (7) from the dividend after 27, then repeat: 277 / 31

Step 6:
If we divide 277 by 31, we get 8 and a remainder of 29.
Use 8 as the next digit of our solution. 
Result so far: 18098.0
Deduct 248 from 277 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 7:
290 divided by 31 is 9 with a remainder of 11.
Record the quotient 9 as the next digit in the result. 
Result so far: 18098.9
If we subtract 279 from 290, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 8:
31 can be fit into 110 3 times, resulting in a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 18098.93
Subtracting 93 from 110 leaves us 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 9:
When dividing 170 by 31, we get 5 with a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 18098.935
Deduct 155 from 170 and we're left with 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 10:
The number 31 fits into 150 4 times, leaving a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 18098.9354
Subtract 124 from 150 to 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.

Moving on to step 11:
260 divided by 31 is 8 with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 18098.93548
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 12:
31 goes into 120 3 times with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 18098.935483
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.

Moving on to step 13:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 18098.9354838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 14:
The number 31 fits into 220 7 times, leaving a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 18098.93548387
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.

After the division, we end up with 18098.93548387 and a remainder of 3e-09.