We look at the division of 31150996 by 779 
Our goal is to divide 31150996 by 779.

On to step 1:
The number 779 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 779

Moving on to step 2:
779 goes into 31 0 times with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (1) from the dividend to 31 and continue with: 311 / 779

Step 3:
The number 779 fits into 311 0 times, leaving a remainder of 311.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 311, we end up with 311.
Take the next digit (5) from the dividend and append it to 311, then repeat: 3115 / 779

Step 4:
When dividing 3115 by 779, we get 3 with a remainder of 778.
The number 3 becomes the next digit in our result. 
Result so far: 3.0
Subtracting 2337 from 3115 leaves us with 778.
Take the next digit (0) from the dividend and append it to 778, then repeat: 7780 / 779

Moving on to step 5:
779 can be fit into 7780 9 times, resulting in a remainder of 769.
Put 9 as the next digit of the answer. 
Result so far: 39.0
Subtract 7011 from 7780 to get 769.
Fetch the next digit (9) from the dividend, attach it to 769 and continue: 7699 / 779

Step 6:
The number 779 fits into 7699 9 times, leaving a remainder of 688.
Write down 9 as next digit of the result. 
Result so far: 399.0
If we take 7011 away from 7699, we end up with 688.
Fetch the next digit (9) from the dividend, attach it to 688 and continue: 6889 / 779

Step 7:
779 goes into 6889 8 times with a remainder of 657.
The number 8 becomes the next digit in our result. 
Result so far: 3998.0
The remainder is 657 after subtracting 6232 from 6889.
Bring next digit (6) of the dividend behind the 657 and repeat the process: 6576 / 779

Advancing to step 8:
779 can be fit into 6576 8 times, resulting in a remainder of 344.
Use 8 as the next digit of our solution. 
Result so far: 39988.0
Deduct 6232 from 6576 and we're left with 344.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3440, and continue the process.

Moving on to step 9:
779 can be fit into 3440 4 times, resulting in a remainder of 324.
Put 4 as the next digit of the answer. 
Result so far: 39988.4
If we take 3116 away from 3440, we end up with 324.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

Advancing to step 10:
779 can be fit into 3240 4 times, resulting in a remainder of 124.
Write down 4 as next digit of the result. 
Result so far: 39988.44
Deduct 3116 from 3240 and we're left with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

The quotient of the division is 39988.44, and the remainder is 0.124.