We divide 539851 by 31
We want to figure out the number of times 539851 can be divided by 31.

Moving on to step 1:
If we divide 5 by 31, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
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

Let's proceed to step 2:
If we divide 53 by 31, we get 1 and 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.
Fetch the next digit (9) from the dividend, attach it to 22 and continue: 229 / 31

Moving on to step 3:
The number 31 fits into 229 7 times, leaving a remainder of 12.
The next digit of our result is 7. 
Result so far: 17.0
If we take 217 away from 229, we end up with 12.
Include the next digit (8) from the dividend after 12, then repeat: 128 / 31

Let's proceed to step 4:
If we divide 128 by 31, we get 4 and a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 174.0
Subtracting 124 from 128 leaves us with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 31

Let's proceed to step 5:
The number 31 fits into 45 1 times, leaving a remainder of 14.
The next digit of our result is 1. 
Result so far: 1741.0
If we subtract 31 from 45, we get 14.
Bring next digit (1) of the dividend behind the 14 and repeat the process: 141 / 31

Let's proceed to step 6:
31 can be fit into 141 4 times, resulting in a remainder of 17.
Use 4 as the next digit of our solution. 
Result so far: 17414.0
If we subtract 124 from 141, we 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.

Going ahead to step 7:
170 divided by 31 is 5 with a remainder of 15.
The next digit of our result is 5. 
Result so far: 17414.5
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.

Going ahead to step 8:
31 goes into 150 4 times with a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 17414.54
Deduct 124 from 150 and we're left 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.

Moving on to step 9:
260 divided by 31 is 8 with a remainder of 12.
Put 8 as the next digit of the answer. 
Result so far: 17414.548
Subtracting 248 from 260 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 10:
When dividing 120 by 31, we get 3 with a remainder of 27.
Record the quotient 3 as the next digit in the result. 
Result so far: 17414.5483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 11:
When dividing 270 by 31, we get 8 with a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 17414.54838
Deduct 248 from 270 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 12:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 17414.548387
If we take 217 away from 220, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Put 0 as the next digit of the answer. 
Result so far: 17414.548387
If we subtract 0 from 30, we get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 14:
The number 31 fits into 300 9 times, leaving a remainder of 21.
Record the quotient 9 as the next digit in the result. 
Result so far: 17414.54838709
If we subtract 279 from 300, we get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 17414.54838709 with a remainder of 2.1e-08.