535982 divided by 31 
We want to divide 535982 by 31.

Let's proceed to step 1:
The number 31 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 31

Going ahead to step 2:
When dividing 53 by 31, we get 1 with a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 31 from 53 leaves us with 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 31

Step 3:
The number 31 fits into 225 7 times, leaving a remainder of 8.
The next digit of our result is 7. 
Result so far: 17.0
Deduct 217 from 225 and we're left with 8.
Include the next digit (9) from the dividend after 8, then repeat: 89 / 31

On to step 4:
When dividing 89 by 31, we get 2 with a remainder of 27.
Use 2 as the next digit of our solution. 
Result so far: 172.0
If we take 62 away from 89, we end up with 27.
Grab the next digit (8) from the dividend, add it to 27, then carry on: 278 / 31

Moving on to step 5:
The number 31 fits into 278 8 times, leaving a remainder of 30.
Put 8 as the next digit of the answer. 
Result so far: 1728.0
The remainder is 30 after subtracting 248 from 278.
Bring next digit (2) of the dividend behind the 30 and repeat the process: 302 / 31

Going ahead to step 6:
302 divided by 31 is 9 with a remainder of 23.
Put 9 as the next digit of the answer. 
Result so far: 17289.0
Deduct 279 from 302 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Step 7:
230 divided by 31 is 7 with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 17289.7
If we take 217 away from 230, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 8:
130 divided by 31 is 4 with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 17289.74
Deduct 124 from 130 and we're left with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

On to step 9:
60 divided by 31 is 1 with a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 17289.741
If we subtract 31 from 60, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 10:
The number 31 fits into 290 9 times, leaving a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 17289.7419
Subtract 279 from 290 to 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.

Advancing to step 11:
When dividing 110 by 31, we get 3 with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 17289.74193
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.

Let's proceed to step 12:
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: 17289.741935
If we subtract 155 from 170, we get 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 13:
31 goes into 150 4 times with a remainder of 26.
The next digit of our result is 4. 
Result so far: 17289.7419354
If we subtract 124 from 150, we 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.

On to step 14:
31 goes into 260 8 times with a remainder of 12.
The number 8 becomes the next digit in our result. 
Result so far: 17289.74193548
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.

After the division, we end up with 17289.74193548 and a remainder of 1.2e-08.