We're dividing 839786 by 31 
Let's see how many times 31 fits into 839786.

Moving on to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 31

Going ahead to step 2:
If we divide 83 by 31, we get 2 and a remainder of 21.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 21 after subtracting 62 from 83.
Include the next digit (9) from the dividend after 21, then repeat: 219 / 31

On to step 3:
The number 31 fits into 219 7 times, leaving a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
If we take 217 away from 219, we end up with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 31

Going ahead to step 4:
31 can be fit into 27 0 times, resulting in a remainder of 27.
The number 0 becomes the next digit in our result. 
Result so far: 270.0
Subtracting 0 from 27 leaves us with 27.
Bring next digit (8) of the dividend behind the 27 and repeat the process: 278 / 31

Let's proceed to step 5:
When dividing 278 by 31, we get 8 with a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 2708.0
Subtract 248 from 278 to get 30.
Bring next digit (6) of the dividend behind the 30 and repeat the process: 306 / 31

Going ahead to step 6:
306 divided by 31 is 9 with a remainder of 27.
Put 9 as the next digit of the answer. 
Result so far: 27089.0
Subtract 279 from 306 to 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.

Step 7:
If we divide 270 by 31, we get 8 and a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 27089.8
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
When dividing 220 by 31, we get 7 with a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 27089.87
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 9:
30 divided by 31 is 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 27089.87
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 10:
31 goes into 300 9 times with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 27089.8709
The remainder is 21 after subtracting 279 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Let's proceed to step 11:
When dividing 210 by 31, we get 6 with a remainder of 24.
The next digit of our result is 6. 
Result so far: 27089.87096
If we take 186 away from 210, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 12:
240 divided by 31 is 7 with a remainder of 23.
Record the quotient 7 as the next digit in the result. 
Result so far: 27089.870967
Subtracting 217 from 240 leaves us 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.

Let's proceed to step 13:
31 goes into 230 7 times with a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 27089.8709677
Subtracting 217 from 230 leaves us 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.

In conclusion, the division gives 27089.8709677 with a balance of 1.3e-07.