795039 ÷ 31 
We want to divide 795039 by 31.

On to step 1:
7 divided by 31 is 0 with a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Take the next digit (9) from the dividend and append it to 7, then repeat: 79 / 31

On to step 2:
31 can be fit into 79 2 times, resulting in a remainder of 17.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 62 from 79, we get 17.
Include the next digit (5) from the dividend after 17, then repeat: 175 / 31

Step 3:
If we divide 175 by 31, we get 5 and a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 25.0
If we take 155 away from 175, we end up with 20.
Append the next digit (0) from the dividend to 20 and continue with: 200 / 31

On to step 4:
31 can be fit into 200 6 times, resulting in a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 256.0
Deduct 186 from 200 and we're left with 14.
Take the next digit (3) from the dividend and append it to 14, then repeat: 143 / 31

Going ahead to step 5:
When dividing 143 by 31, we get 4 with a remainder of 19.
Record the quotient 4 as the next digit in the result. 
Result so far: 2564.0
If we take 124 away from 143, we end up with 19.
Append the next digit (9) from the dividend to 19 and continue with: 199 / 31

Advancing to step 6:
If we divide 199 by 31, we get 6 and a remainder of 13.
The next digit of our result is 6. 
Result so far: 25646.0
Deduct 186 from 199 and we're left 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.

Step 7:
130 divided by 31 is 4 with a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 25646.4
The remainder is 6 after subtracting 124 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 8:
The number 31 fits into 60 1 times, leaving a remainder of 29.
The number 1 becomes the next digit in our result. 
Result so far: 25646.41
If we subtract 31 from 60, we get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Let's proceed to step 9:
The number 31 fits into 290 9 times, leaving a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 25646.419
Deduct 279 from 290 and we're left 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.

Let's proceed to step 10:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Write down 3 as next digit of the result. 
Result so far: 25646.4193
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 11:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 25646.41935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 12:
150 divided by 31 is 4 with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 25646.419354
If we subtract 124 from 150, we 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.

Let's proceed to step 13:
31 goes into 260 8 times with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 25646.4193548
Deduct 248 from 260 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 14:
The number 31 fits into 120 3 times, leaving a remainder of 27.
Put 3 as the next digit of the answer. 
Result so far: 25646.41935483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

After the division, we end up with 25646.41935483 and a remainder of 2.7e-08.