Let's divide 784891 by 31
We want to figure out the number of times 784891 can be divided by 31.

Advancing to step 1:
31 goes into 7 0 times with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Fetch the next digit (8) from the dividend, attach it to 7 and continue: 78 / 31

Going ahead to step 2:
31 goes into 78 2 times with a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 62 away from 78, we end up with 16.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 31

Advancing to step 3:
31 goes into 164 5 times with a remainder of 9.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we subtract 155 from 164, we get 9.
Take the next digit (8) from the dividend and append it to 9, then repeat: 98 / 31

Step 4:
The number 31 fits into 98 3 times, leaving a remainder of 5.
The next digit of our result is 3. 
Result so far: 253.0
If we subtract 93 from 98, we get 5.
Include the next digit (9) from the dividend after 5, then repeat: 59 / 31

Advancing to step 5:
If we divide 59 by 31, we get 1 and a remainder of 28.
The next digit of our result is 1. 
Result so far: 2531.0
Subtracting 31 from 59 leaves us with 28.
Fetch the next digit (1) from the dividend, attach it to 28 and continue: 281 / 31

Step 6:
When dividing 281 by 31, we get 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 25319.0
If we take 279 away from 281, we end up with 2.
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 7:
If we divide 20 by 31, we get 0 and a remainder of 20.
The next digit of our result is 0. 
Result so far: 25319.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Step 8:
200 divided by 31 is 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 25319.06
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.

Advancing to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 25319.064
The remainder is 16 after subtracting 124 from 140.
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 10:
31 goes into 160 5 times with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 25319.0645
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.

Advancing to step 11:
50 divided by 31 is 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 25319.06451
If we take 31 away from 50, we end up 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.

On to step 12:
31 goes into 190 6 times with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 25319.064516
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.

Going ahead to step 13:
31 goes into 40 1 times with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 25319.0645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 14:
If we divide 90 by 31, we get 2 and a remainder of 28.
The next digit of our result is 2. 
Result so far: 25319.06451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

In conclusion, the division gives 25319.06451612 with a balance of 2.8e-08.