We divide 31008873 by 778
Our goal is to divide 31008873 by 778.

Moving on to step 1:
If we divide 3 by 778, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 778

Let's proceed to step 2:
When dividing 31 by 778, we get 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Bring next digit (0) of the dividend behind the 31 and repeat the process: 310 / 778

Going ahead to step 3:
778 can be fit into 310 0 times, resulting in a remainder of 310.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 310 after subtracting 0 from 310.
Append the next digit (0) from the dividend to 310 and continue with: 3100 / 778

Moving on to step 4:
If we divide 3100 by 778, we get 3 and a remainder of 766.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we subtract 2334 from 3100, we get 766.
Grab the next digit (8) from the dividend, add it to 766, then carry on: 7668 / 778

Step 5:
778 goes into 7668 9 times with a remainder of 666.
Write down 9 as next digit of the result. 
Result so far: 39.0
If we subtract 7002 from 7668, we get 666.
Fetch the next digit (8) from the dividend, attach it to 666 and continue: 6668 / 778

Advancing to step 6:
The number 778 fits into 6668 8 times, leaving a remainder of 444.
Use 8 as the next digit of our solution. 
Result so far: 398.0
If we take 6224 away from 6668, we end up with 444.
Grab the next digit (7) from the dividend, add it to 444, then carry on: 4447 / 778

Moving on to step 7:
If we divide 4447 by 778, we get 5 and a remainder of 557.
Use 5 as the next digit of our solution. 
Result so far: 3985.0
Subtract 3890 from 4447 to get 557.
Bring next digit (3) of the dividend behind the 557 and repeat the process: 5573 / 778

Moving on to step 8:
The number 778 fits into 5573 7 times, leaving a remainder of 127.
Put 7 as the next digit of the answer. 
Result so far: 39857.0
If we take 5446 away from 5573, we end up with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Step 9:
778 goes into 1270 1 times with a remainder of 492.
Put 1 as the next digit of the answer. 
Result so far: 39857.1
The remainder is 492 after subtracting 778 from 1270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

On to step 10:
The number 778 fits into 4920 6 times, leaving a remainder of 252.
Put 6 as the next digit of the answer. 
Result so far: 39857.16
Subtract 4668 from 4920 to get 252.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2520, and continue the process.

On to step 11:
778 goes into 2520 3 times with a remainder of 186.
Record the quotient 3 as the next digit in the result. 
Result so far: 39857.163
The remainder is 186 after subtracting 2334 from 2520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

Going ahead to step 12:
778 can be fit into 1860 2 times, resulting in a remainder of 304.
The number 2 becomes the next digit in our result. 
Result so far: 39857.1632
Subtracting 1556 from 1860 leaves us with 304.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Going ahead to step 13:
3040 divided by 778 is 3 with a remainder of 706.
Put 3 as the next digit of the answer. 
Result so far: 39857.16323
The remainder is 706 after subtracting 2334 from 3040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7060, and continue the process.

On to step 14:
778 goes into 7060 9 times with a remainder of 58.
The next digit of our result is 9. 
Result so far: 39857.163239
If we subtract 7002 from 7060, we get 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Moving on to step 15:
When dividing 580 by 778, we get 0 with a remainder of 580.
Put 0 as the next digit of the answer. 
Result so far: 39857.163239
Deduct 0 from 580 and we're left with 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

Going ahead to step 16:
778 can be fit into 5800 7 times, resulting in a remainder of 354.
Put 7 as the next digit of the answer. 
Result so far: 39857.16323907
Deduct 5446 from 5800 and we're left with 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

The final result is 39857.16323907 with a remainder of 3.54e-07.