Let's divide 839774 by 31
We're looking to find how many times 31 goes into 839774.

Advancing to step 1:
When dividing 8 by 31, we get 0 with a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (3) of the dividend behind the 8 and repeat the process: 83 / 31

Going ahead to step 2:
31 goes into 83 2 times with a remainder of 21.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 62 from 83 and we're left with 21.
Grab the next digit (9) from the dividend, add it to 21, then carry on: 219 / 31

On to step 3:
31 goes into 219 7 times with a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 27.0
Subtract 217 from 219 to get 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 31

Let's proceed to step 4:
If we divide 27 by 31, we get 0 and a remainder of 27.
Write down 0 as next digit of the result. 
Result so far: 270.0
The remainder is 27 after subtracting 0 from 27.
Bring next digit (7) of the dividend behind the 27 and repeat the process: 277 / 31

Going ahead to step 5:
31 can be fit into 277 8 times, resulting in a remainder of 29.
Put 8 as the next digit of the answer. 
Result so far: 2708.0
Deduct 248 from 277 and we're left with 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 31

Advancing to step 6:
When dividing 294 by 31, we get 9 with a remainder of 15.
Record the quotient 9 as the next digit in the result. 
Result so far: 27089.0
Deduct 279 from 294 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 7:
The number 31 fits into 150 4 times, leaving a remainder of 26.
The number 4 becomes the next digit in our result. 
Result so far: 27089.4
The remainder is 26 after subtracting 124 from 150.
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 8:
31 can be fit into 260 8 times, resulting in a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 27089.48
If we take 248 away from 260, we end up 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 9:
If we divide 120 by 31, we get 3 and a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 27089.483
Subtracting 93 from 120 leaves us with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Advancing to step 10:
When dividing 270 by 31, we get 8 with a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 27089.4838
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.

Moving on to step 11:
When dividing 220 by 31, we get 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 27089.48387
The remainder is 3 after subtracting 217 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 12:
31 goes into 30 0 times with a remainder of 30.
The next digit of our result is 0. 
Result so far: 27089.48387
The remainder is 30 after subtracting 0 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 13:
300 divided by 31 is 9 with a remainder of 21.
Use 9 as the next digit of our solution. 
Result so far: 27089.4838709
Subtract 279 from 300 to 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.

Advancing to step 14:
31 goes into 210 6 times with a remainder of 24.
The next digit of our result is 6. 
Result so far: 27089.48387096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

In conclusion, the division gives 27089.48387096 with a balance of 2.4e-08.