536123 divided by 31 
Let's see how many times 31 fits into 536123.

Let's proceed to step 1:
5 divided by 31 is 0 with a remainder of 5.
The next digit of our result is 0. 
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:
31 can be fit into 53 1 times, resulting in a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 31 from 53, we get 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 31

On to step 3:
31 goes into 226 7 times with a remainder of 9.
The next digit of our result is 7. 
Result so far: 17.0
Deduct 217 from 226 and we're left with 9.
Grab the next digit (1) from the dividend, add it to 9, then carry on: 91 / 31

Advancing to step 4:
91 divided by 31 is 2 with a remainder of 29.
The next digit of our result is 2. 
Result so far: 172.0
The remainder is 29 after subtracting 62 from 91.
Append the next digit (2) from the dividend to 29 and continue with: 292 / 31

Advancing to step 5:
31 goes into 292 9 times with a remainder of 13.
The next digit of our result is 9. 
Result so far: 1729.0
Subtracting 279 from 292 leaves us with 13.
Include the next digit (3) from the dividend after 13, then repeat: 133 / 31

Step 6:
If we divide 133 by 31, we get 4 and a remainder of 9.
The number 4 becomes the next digit in our result. 
Result so far: 17294.0
Deduct 124 from 133 and we're left 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.

Step 7:
31 goes into 90 2 times with a remainder of 28.
The number 2 becomes the next digit in our result. 
Result so far: 17294.2
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 8:
If we divide 280 by 31, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 17294.29
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 9:
If we divide 10 by 31, we get 0 and a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 17294.29
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 10:
100 divided by 31 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 17294.2903
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.

Going ahead to step 11:
70 divided by 31 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 17294.29032
Subtracting 62 from 70 leaves us 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.

Advancing to step 12:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 17294.290322
Subtract 62 from 80 to get 18.
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 17294.290322, with a leftover of 1.8e-06.