787439 ÷ 31 
We want to divide 787439 by 31.

On to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 31

Let's proceed to step 2:
When dividing 78 by 31, we get 2 with a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 62 from 78 and we're left with 16.
Append the next digit (7) from the dividend to 16 and continue with: 167 / 31

Let's proceed to step 3:
If we divide 167 by 31, we get 5 and a remainder of 12.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtract 155 from 167 to get 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 31

Moving on to step 4:
If we divide 124 by 31, we get 4 and a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 254.0
Subtracting 124 from 124 leaves us with 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 31

Advancing to step 5:
31 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 2540.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 31

On to step 6:
When dividing 39 by 31, we get 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 25401.0
Subtract 31 from 39 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 7:
The number 31 fits into 80 2 times, leaving a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 25401.2
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
31 can be fit into 180 5 times, resulting in a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 25401.25
The remainder is 25 after subtracting 155 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Advancing to step 9:
The number 31 fits into 250 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 25401.258
The remainder is 2 after subtracting 248 from 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 10:
31 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 25401.258
Subtracting 0 from 20 leaves us 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 11:
31 goes into 200 6 times with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 25401.25806
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 12:
140 divided by 31 is 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 25401.258064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 13:
160 divided by 31 is 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 25401.2580645
Subtracting 155 from 160 leaves us 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.

On to step 14:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 25401.25806451
Deduct 31 from 50 and we're left with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 25401.25806451, with a leftover of 1.9e-08.