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

Let's proceed to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Grab the next digit (8) from the dividend, add it to 7, then carry on: 78 / 31

Advancing to step 2:
The number 31 fits into 78 2 times, leaving 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.
Grab the next digit (7) from the dividend, add it to 16, then carry on: 167 / 31

Step 3:
31 goes into 167 5 times with a remainder of 12.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Subtract 155 from 167 to get 12.
Bring next digit (0) of the dividend behind the 12 and repeat the process: 120 / 31

Step 4:
120 divided by 31 is 3 with a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 253.0
Subtracting 93 from 120 leaves us with 27.
Bring next digit (9) of the dividend behind the 27 and repeat the process: 279 / 31

Advancing to step 5:
31 goes into 279 9 times with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 2539.0
If we take 279 away from 279, we end up with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 31

On to step 6:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 25390.0
The remainder is 3 after subtracting 0 from 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Let's proceed to step 7:
The number 31 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 25390.0
Subtract 0 from 30 to 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.

On to step 8:
When dividing 300 by 31, we get 9 with a remainder of 21.
The next digit of our result is 9. 
Result so far: 25390.09
Deduct 279 from 300 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 9:
When dividing 210 by 31, we get 6 with a remainder of 24.
The next digit of our result is 6. 
Result so far: 25390.096
If we subtract 186 from 210, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 10:
When dividing 240 by 31, we get 7 with a remainder of 23.
Put 7 as the next digit of the answer. 
Result so far: 25390.0967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 11:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 25390.09677
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 25390.09677 with a balance of 1.3e-05.