We divide 791935 by 31
We want to divide 791935 by 31.

Advancing to step 1:
7 divided by 31 is 0 with 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.
Grab the next digit (9) from the dividend, add it to 7, then carry on: 79 / 31

Let's proceed 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
The remainder is 17 after subtracting 62 from 79.
Append the next digit (1) from the dividend to 17 and continue with: 171 / 31

On to step 3:
The number 31 fits into 171 5 times, leaving a remainder of 16.
The number 5 becomes the next digit in our result. 
Result so far: 25.0
If we take 155 away from 171, we end up with 16.
Bring next digit (9) of the dividend behind the 16 and repeat the process: 169 / 31

Step 4:
If we divide 169 by 31, we get 5 and a remainder of 14.
Put 5 as the next digit of the answer. 
Result so far: 255.0
Subtracting 155 from 169 leaves us with 14.
Grab the next digit (3) from the dividend, add it to 14, then carry on: 143 / 31

Let's proceed to step 5:
When dividing 143 by 31, we get 4 with a remainder of 19.
Write down 4 as next digit of the result. 
Result so far: 2554.0
Deduct 124 from 143 and we're left with 19.
Take the next digit (5) from the dividend and append it to 19, then repeat: 195 / 31

Moving on to step 6:
If we divide 195 by 31, we get 6 and a remainder of 9.
The number 6 becomes the next digit in our result. 
Result so far: 25546.0
Deduct 186 from 195 and we're left 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 7:
90 divided by 31 is 2 with a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 25546.2
The remainder is 28 after subtracting 62 from 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 8:
280 divided by 31 is 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 25546.29
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.

Moving on to step 9:
31 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 25546.29
If we take 0 away from 10, we end up with 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 10:
31 goes into 100 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 25546.2903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 11:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 25546.29032
If we take 62 away from 70, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 12:
The number 31 fits into 80 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 25546.290322
Subtract 62 from 80 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 25546.290322 and a remainder of 1.8e-06.