We divide 789493 by 31
We're looking to find how many times 31 goes into 789493.

Going ahead to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 31

Moving on to step 2:
78 divided by 31 is 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 2.0
Subtract 62 from 78 to get 16.
Fetch the next digit (9) from the dividend, attach it to 16 and continue: 169 / 31

Advancing to step 3:
When dividing 169 by 31, we get 5 with a remainder of 14.
Write down 5 as next digit of the result. 
Result so far: 25.0
Deduct 155 from 169 and we're left with 14.
Bring next digit (4) of the dividend behind the 14 and repeat the process: 144 / 31

Going ahead to step 4:
The number 31 fits into 144 4 times, leaving a remainder of 20.
Put 4 as the next digit of the answer. 
Result so far: 254.0
Subtracting 124 from 144 leaves us with 20.
Grab the next digit (9) from the dividend, add it to 20, then carry on: 209 / 31

Advancing to step 5:
When dividing 209 by 31, we get 6 with a remainder of 23.
Use 6 as the next digit of our solution. 
Result so far: 2546.0
Subtract 186 from 209 to get 23.
Take the next digit (3) from the dividend and append it to 23, then repeat: 233 / 31

Going ahead to step 6:
The number 31 fits into 233 7 times, leaving a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 25467.0
If we take 217 away from 233, 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.

On to step 7:
If we divide 160 by 31, we get 5 and a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 25467.5
The remainder is 5 after subtracting 155 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 8:
50 divided by 31 is 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 25467.51
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Advancing to step 9:
190 divided by 31 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 25467.516
If we take 186 away from 190, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 10:
40 divided by 31 is 1 with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 25467.5161
If we take 31 away from 40, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Moving on to step 11:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 25467.51612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Let's proceed to step 12:
When dividing 280 by 31, we get 9 with a remainder of 1.
The next digit of our result is 9. 
Result so far: 25467.516129
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 13:
When dividing 10 by 31, we get 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 25467.516129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
31 goes into 100 3 times with a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 25467.51612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final outcome is 25467.51612903, with a leftover of 7e-09.