Let's divide 786760 by 31
Our goal is to divide 786760 by 31.

Step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 31

On to step 2:
31 can be fit into 78 2 times, resulting in a remainder of 16.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtracting 62 from 78 leaves us with 16.
Append the next digit (6) from the dividend to 16 and continue with: 166 / 31

Going ahead to step 3:
When dividing 166 by 31, we get 5 with a remainder of 11.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
If we take 155 away from 166, we end up with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 31

Going ahead to step 4:
117 divided by 31 is 3 with a remainder of 24.
The next digit of our result is 3. 
Result so far: 253.0
Subtracting 93 from 117 leaves us with 24.
Bring next digit (6) of the dividend behind the 24 and repeat the process: 246 / 31

Let's proceed to step 5:
When dividing 246 by 31, we get 7 with a remainder of 29.
The next digit of our result is 7. 
Result so far: 2537.0
If we subtract 217 from 246, we get 29.
Take the next digit (0) from the dividend and append it to 29, then repeat: 290 / 31

Advancing to step 6:
The number 31 fits into 290 9 times, leaving a remainder of 11.
The next digit of our result is 9. 
Result so far: 25379.0
Subtracting 279 from 290 leaves us with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 7:
110 divided by 31 is 3 with a remainder of 17.
The number 3 becomes the next digit in our result. 
Result so far: 25379.3
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 8:
31 goes into 170 5 times with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 25379.35
Subtracting 155 from 170 leaves us 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.

Let's proceed to step 9:
The number 31 fits into 150 4 times, leaving a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 25379.354
Subtract 124 from 150 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 10:
The number 31 fits into 260 8 times, leaving a remainder of 12.
The next digit of our result is 8. 
Result so far: 25379.3548
Subtract 248 from 260 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 11:
120 divided by 31 is 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 25379.35483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Going ahead to step 12:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 25379.354838
If we take 248 away from 270, we end up 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 13:
31 can be fit into 220 7 times, resulting in a remainder of 3.
Put 7 as the next digit of the answer. 
Result so far: 25379.3548387
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 14:
If we divide 30 by 31, we get 0 and a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 25379.3548387
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.

The final outcome is 25379.3548387, with a leftover of 3e-08.