796875 divided by 31 
Let's see how many times 31 fits into 796875.

Advancing to step 1:
31 can be fit into 7 0 times, resulting in a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 31

Step 2:
31 goes into 79 2 times with a remainder of 17.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtracting 62 from 79 leaves us with 17.
Take the next digit (6) from the dividend and append it to 17, then repeat: 176 / 31

Going ahead to step 3:
176 divided by 31 is 5 with a remainder of 21.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Subtracting 155 from 176 leaves us with 21.
Append the next digit (8) from the dividend to 21 and continue with: 218 / 31

Let's proceed to step 4:
31 goes into 218 7 times with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 257.0
The remainder is 1 after subtracting 217 from 218.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 31

Let's proceed to step 5:
The number 31 fits into 17 0 times, leaving a remainder of 17.
Record the quotient 0 as the next digit in the result. 
Result so far: 2570.0
Subtract 0 from 17 to get 17.
Append the next digit (5) from the dividend to 17 and continue with: 175 / 31

On to step 6:
The number 31 fits into 175 5 times, leaving a remainder of 20.
Record the quotient 5 as the next digit in the result. 
Result so far: 25705.0
If we subtract 155 from 175, we 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.

Moving on to step 7:
200 divided by 31 is 6 with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 25705.6
The remainder is 14 after subtracting 186 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 8:
31 goes into 140 4 times with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 25705.64
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 9:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 25705.645
Subtract 155 from 160 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 10:
If we divide 50 by 31, we get 1 and a remainder of 19.
The next digit of our result is 1. 
Result so far: 25705.6451
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 11:
When dividing 190 by 31, we get 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 25705.64516
Subtracting 186 from 190 leaves us 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 12:
40 divided by 31 is 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 25705.645161
Subtracting 31 from 40 leaves us 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.

Let's proceed to step 13:
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: 25705.6451612
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 14:
When dividing 280 by 31, we get 9 with a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 25705.64516129
Subtract 279 from 280 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

The final outcome is 25705.64516129, with a leftover of 1e-09.