778826 divided by 31 
We want to figure out the number of times 778826 can be divided by 31.

Moving on to step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 31

On to step 2:
77 divided by 31 is 2 with a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 15 after subtracting 62 from 77.
Grab the next digit (8) from the dividend, add it to 15, then carry on: 158 / 31

Step 3:
158 divided by 31 is 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 25.0
The remainder is 3 after subtracting 155 from 158.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 31

Let's proceed to step 4:
31 can be fit into 38 1 times, resulting in a remainder of 7.
Record the quotient 1 as the next digit in the result. 
Result so far: 251.0
Subtract 31 from 38 to get 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 31

Going ahead to step 5:
31 can be fit into 72 2 times, resulting in a remainder of 10.
Write down 2 as next digit of the result. 
Result so far: 2512.0
Subtracting 62 from 72 leaves us with 10.
Take the next digit (6) from the dividend and append it to 10, then repeat: 106 / 31

Advancing to step 6:
31 goes into 106 3 times with a remainder of 13.
Put 3 as the next digit of the answer. 
Result so far: 25123.0
If we take 93 away from 106, we end up 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.

Moving on to step 7:
31 can be fit into 130 4 times, resulting in a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 25123.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.

On to step 8:
The number 31 fits into 60 1 times, leaving a remainder of 29.
The next digit of our result is 1. 
Result so far: 25123.41
Deduct 31 from 60 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
31 can be fit into 290 9 times, resulting in a remainder of 11.
The number 9 becomes the next digit in our result. 
Result so far: 25123.419
Subtract 279 from 290 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 10:
The number 31 fits into 110 3 times, leaving a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 25123.4193
The remainder is 17 after subtracting 93 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Moving on to step 11:
31 can be fit into 170 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 25123.41935
The remainder is 15 after subtracting 155 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 12:
If we divide 150 by 31, we get 4 and a remainder of 26.
The next digit of our result is 4. 
Result so far: 25123.419354
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.

On to step 13:
If we divide 260 by 31, we get 8 and a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 25123.4193548
If we subtract 248 from 260, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 14:
31 goes into 120 3 times with a remainder of 27.
The next digit of our result is 3. 
Result so far: 25123.41935483
The remainder is 27 after subtracting 93 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

The final result is 25123.41935483 with a remainder of 2.7e-08.