536584 ÷ 31 
Let's see how many times 31 fits into 536584.

Step 1:
5 divided by 31 is 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (3) from the dividend after 5, then repeat: 53 / 31

Advancing to step 2:
53 divided by 31 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 53, we get 22.
Take the next digit (6) from the dividend and append it to 22, then repeat: 226 / 31

Let's proceed to step 3:
31 goes into 226 7 times with a remainder of 9.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 217 from 226 and we're left with 9.
Bring next digit (5) of the dividend behind the 9 and repeat the process: 95 / 31

Going ahead to step 4:
The number 31 fits into 95 3 times, leaving a remainder of 2.
Write down 3 as next digit of the result. 
Result so far: 173.0
If we take 93 away from 95, we end up with 2.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 31

Going ahead to step 5:
31 can be fit into 28 0 times, resulting in a remainder of 28.
Write down 0 as next digit of the result. 
Result so far: 1730.0
If we subtract 0 from 28, we get 28.
Take the next digit (4) from the dividend and append it to 28, then repeat: 284 / 31

Advancing to step 6:
31 goes into 284 9 times with a remainder of 5.
The next digit of our result is 9. 
Result so far: 17309.0
The remainder is 5 after subtracting 279 from 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 17309.1
Subtract 31 from 50 to get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 8:
The number 31 fits into 190 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 17309.16
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
When dividing 40 by 31, we get 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 17309.161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 10:
90 divided by 31 is 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 17309.1612
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 11:
31 goes into 280 9 times with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 17309.16129
If we subtract 279 from 280, we get 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 12:
31 can be fit into 10 0 times, resulting in a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 17309.16129
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.

Let's proceed to step 13:
31 can be fit into 100 3 times, resulting in a remainder of 7.
The number 3 becomes the next digit in our result. 
Result so far: 17309.1612903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 14:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Use 2 as the next digit of our solution. 
Result so far: 17309.16129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

In conclusion, the division gives 17309.16129032 with a balance of 8e-09.