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

Advancing to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Fetch the next digit (9) from the dividend, attach it to 7 and continue: 79 / 31

On to step 2:
31 goes into 79 2 times with a remainder of 17.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 62 from 79 and we're left with 17.
Take the next digit (4) from the dividend and append it to 17, then repeat: 174 / 31

Moving on to step 3:
The number 31 fits into 174 5 times, leaving a remainder of 19.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
Deduct 155 from 174 and we're left with 19.
Grab the next digit (7) from the dividend, add it to 19, then carry on: 197 / 31

Advancing to step 4:
When dividing 197 by 31, we get 6 with a remainder of 11.
The number 6 becomes the next digit in our result. 
Result so far: 256.0
If we subtract 186 from 197, we get 11.
Fetch the next digit (6) from the dividend, attach it to 11 and continue: 116 / 31

Advancing to step 5:
When dividing 116 by 31, we get 3 with a remainder of 23.
Write down 3 as next digit of the result. 
Result so far: 2563.0
If we take 93 away from 116, we end up with 23.
Include the next digit (4) from the dividend after 23, then repeat: 234 / 31

Advancing to step 6:
31 can be fit into 234 7 times, resulting in a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 25637.0
If we take 217 away from 234, we end up 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.

Advancing to step 7:
When dividing 170 by 31, we get 5 with a remainder of 15.
Record the quotient 5 as the next digit in the result. 
Result so far: 25637.5
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.

On to step 8:
150 divided by 31 is 4 with a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 25637.54
The remainder is 26 after subtracting 124 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
31 goes into 260 8 times with a remainder of 12.
The next digit of our result is 8. 
Result so far: 25637.548
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 10:
When dividing 120 by 31, we get 3 with a remainder of 27.
The next digit of our result is 3. 
Result so far: 25637.5483
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 11:
31 goes into 270 8 times with a remainder of 22.
The next digit of our result is 8. 
Result so far: 25637.54838
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 12:
31 goes into 220 7 times with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 25637.548387
If we subtract 217 from 220, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
When dividing 30 by 31, we get 0 with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 25637.548387
If we take 0 away from 30, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
31 goes into 300 9 times with a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 25637.54838709
Subtract 279 from 300 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The quotient of the division is 25637.54838709, and the remainder is 2.1e-08.