We look at the division of 525847 by 31 
We're looking to find how many times 31 goes into 525847.

Going ahead to step 1:
31 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 31

On to step 2:
The number 31 fits into 52 1 times, leaving a remainder of 21.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 31 away from 52, we end up with 21.
Bring next digit (5) of the dividend behind the 21 and repeat the process: 215 / 31

Going ahead to step 3:
When dividing 215 by 31, we get 6 with a remainder of 29.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
If we take 186 away from 215, we end up with 29.
Bring next digit (8) of the dividend behind the 29 and repeat the process: 298 / 31

Going ahead to step 4:
When dividing 298 by 31, we get 9 with a remainder of 19.
The next digit of our result is 9. 
Result so far: 169.0
If we take 279 away from 298, we end up with 19.
Fetch the next digit (4) from the dividend, attach it to 19 and continue: 194 / 31

Going ahead to step 5:
194 divided by 31 is 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 1696.0
If we take 186 away from 194, we end up with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 31

Advancing to step 6:
If we divide 87 by 31, we get 2 and a remainder of 25.
Write down 2 as next digit of the result. 
Result so far: 16962.0
Deduct 62 from 87 and we're left with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 7:
When dividing 250 by 31, we get 8 with a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 16962.8
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
The number 31 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 16962.8
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 16962.806
Deduct 186 from 200 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 10:
31 goes into 140 4 times with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 16962.8064
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 11:
If we divide 160 by 31, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 16962.80645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 12:
31 goes into 50 1 times with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 16962.806451
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 13:
31 goes into 190 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 16962.8064516
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.

Moving on to step 14:
If we divide 40 by 31, we get 1 and a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 16962.80645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

After the division, we end up with 16962.80645161 and a remainder of 9e-09.