559561 ÷ 31 
We're looking to find how many times 31 goes into 559561.

On to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 31

On to step 2:
55 divided by 31 is 1 with a remainder of 24.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 31 from 55 and we're left with 24.
Include the next digit (9) from the dividend after 24, then repeat: 249 / 31

Let's proceed to step 3:
31 goes into 249 8 times with a remainder of 1.
The number 8 becomes the next digit in our result. 
Result so far: 18.0
Deduct 248 from 249 and we're left with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 31

On to step 4:
If we divide 15 by 31, we get 0 and a remainder of 15.
Record the quotient 0 as the next digit in the result. 
Result so far: 180.0
If we subtract 0 from 15, we get 15.
Fetch the next digit (6) from the dividend, attach it to 15 and continue: 156 / 31

Advancing to step 5:
If we divide 156 by 31, we get 5 and a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 1805.0
If we subtract 155 from 156, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 31

Step 6:
If we divide 11 by 31, we get 0 and a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 18050.0
If we subtract 0 from 11, 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.

Going ahead to step 7:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 18050.3
Subtract 93 from 110 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Step 8:
31 can be fit into 170 5 times, resulting in a remainder of 15.
The next digit of our result is 5. 
Result so far: 18050.35
Subtracting 155 from 170 leaves us 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.

Advancing to step 9:
31 can be fit into 150 4 times, resulting in a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 18050.354
If we take 124 away from 150, 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 10:
If we divide 260 by 31, we get 8 and a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 18050.3548
The remainder is 12 after subtracting 248 from 260.
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:
120 divided by 31 is 3 with a remainder of 27.
The number 3 becomes the next digit in our result. 
Result so far: 18050.35483
Deduct 93 from 120 and we're left 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:
31 goes into 270 8 times with a remainder of 22.
Put 8 as the next digit of the answer. 
Result so far: 18050.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:
220 divided by 31 is 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 18050.3548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 14:
If we divide 30 by 31, we get 0 and a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 18050.3548387
Deduct 0 from 30 and we're left 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.

Our division results in 18050.3548387 with a remaining 3e-08.