We look at the division of 778728 by 31 
Our goal is to divide 778728 by 31.

On to step 1:
The number 31 fits into 7 0 times, leaving a remainder of 7.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 7 leaves us with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 31

Step 2:
The number 31 fits into 77 2 times, leaving a remainder of 15.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 15 after subtracting 62 from 77.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 31

Advancing to step 3:
31 can be fit into 158 5 times, resulting in a remainder of 3.
Put 5 as the next digit of the answer. 
Result so far: 25.0
Subtracting 155 from 158 leaves us with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 31

Step 4:
When dividing 37 by 31, we get 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 251.0
The remainder is 6 after subtracting 31 from 37.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 31

Step 5:
If we divide 62 by 31, we get 2 and a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 2512.0
If we take 62 away from 62, we end up with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 31

On to step 6:
31 goes into 8 0 times with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 25120.0
If we take 0 away from 8, 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 7:
80 divided by 31 is 2 with a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 25120.2
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 8:
When dividing 180 by 31, we get 5 with a remainder of 25.
The next digit of our result is 5. 
Result so far: 25120.25
If we take 155 away from 180, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

On to step 9:
250 divided by 31 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 25120.258
If we subtract 248 from 250, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 10:
31 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 25120.258
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 11:
31 goes into 200 6 times with a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 25120.25806
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.

Advancing to step 12:
If we divide 140 by 31, we get 4 and a remainder of 16.
Record the quotient 4 as the next digit in the result. 
Result so far: 25120.258064
If we take 124 away from 140, we end up with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 13:
160 divided by 31 is 5 with a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 25120.2580645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 14:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 25120.25806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The quotient of the division is 25120.25806451, and the remainder is 1.9e-08.