561634 ÷ 31 
We want to divide 561634 by 31.

Moving on to step 1:
When dividing 5 by 31, we get 0 with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 31

Let's proceed to step 2:
When dividing 56 by 31, we get 1 with a remainder of 25.
Put 1 as the next digit of the answer. 
Result so far: 1.0
The remainder is 25 after subtracting 31 from 56.
Include the next digit (1) from the dividend after 25, then repeat: 251 / 31

Going ahead to step 3:
251 divided by 31 is 8 with a remainder of 3.
Write down 8 as next digit of the result. 
Result so far: 18.0
Deduct 248 from 251 and we're left with 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 31

On to step 4:
When dividing 36 by 31, we get 1 with a remainder of 5.
The number 1 becomes the next digit in our result. 
Result so far: 181.0
Subtracting 31 from 36 leaves us with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 31

Going ahead to step 5:
The number 31 fits into 53 1 times, leaving a remainder of 22.
The next digit of our result is 1. 
Result so far: 1811.0
Subtracting 31 from 53 leaves us with 22.
Take the next digit (4) from the dividend and append it to 22, then repeat: 224 / 31

Going ahead to step 6:
31 goes into 224 7 times with a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 18117.0
If we subtract 217 from 224, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Step 7:
If we divide 70 by 31, we get 2 and a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 18117.2
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.

Let's proceed to step 8:
80 divided by 31 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 18117.22
The remainder is 18 after subtracting 62 from 80.
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 outcome is 18117.22, with a leftover of 0.018.