We look at the division of 31860687 by 776 
We want to figure out the number of times 31860687 can be divided by 776.

Let's proceed to step 1:
The number 776 fits into 3 0 times, leaving a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 776

Let's proceed to step 2:
When dividing 31 by 776, we get 0 with a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 31 after subtracting 0 from 31.
Include the next digit (8) from the dividend after 31, then repeat: 318 / 776

On to step 3:
776 goes into 318 0 times with a remainder of 318.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 318, we get 318.
Fetch the next digit (6) from the dividend, attach it to 318 and continue: 3186 / 776

Let's proceed to step 4:
776 goes into 3186 4 times with a remainder of 82.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 3104 from 3186 and we're left with 82.
Take the next digit (0) from the dividend and append it to 82, then repeat: 820 / 776

Moving on to step 5:
820 divided by 776 is 1 with a remainder of 44.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
The remainder is 44 after subtracting 776 from 820.
Include the next digit (6) from the dividend after 44, then repeat: 446 / 776

Moving on to step 6:
776 can be fit into 446 0 times, resulting in a remainder of 446.
Write down 0 as next digit of the result. 
Result so far: 410.0
Deduct 0 from 446 and we're left with 446.
Bring next digit (8) of the dividend behind the 446 and repeat the process: 4468 / 776

Let's proceed to step 7:
The number 776 fits into 4468 5 times, leaving a remainder of 588.
Write down 5 as next digit of the result. 
Result so far: 4105.0
The remainder is 588 after subtracting 3880 from 4468.
Append the next digit (7) from the dividend to 588 and continue with: 5887 / 776

On to step 8:
The number 776 fits into 5887 7 times, leaving a remainder of 455.
Put 7 as the next digit of the answer. 
Result so far: 41057.0
Subtracting 5432 from 5887 leaves us with 455.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

Going ahead to step 9:
776 goes into 4550 5 times with a remainder of 670.
Put 5 as the next digit of the answer. 
Result so far: 41057.5
Subtract 3880 from 4550 to get 670.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6700, and continue the process.

Let's proceed to step 10:
The number 776 fits into 6700 8 times, leaving a remainder of 492.
Record the quotient 8 as the next digit in the result. 
Result so far: 41057.58
The remainder is 492 after subtracting 6208 from 6700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4920, and continue the process.

Step 11:
776 can be fit into 4920 6 times, resulting in a remainder of 264.
Put 6 as the next digit of the answer. 
Result so far: 41057.586
If we take 4656 away from 4920, we end up with 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 12:
776 goes into 2640 3 times with a remainder of 312.
Use 3 as the next digit of our solution. 
Result so far: 41057.5863
If we subtract 2328 from 2640, we get 312.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3120, and continue the process.

Let's proceed to step 13:
If we divide 3120 by 776, we get 4 and a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 41057.58634
The remainder is 16 after subtracting 3104 from 3120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Step 14:
When dividing 160 by 776, we get 0 with a remainder of 160.
Use 0 as the next digit of our solution. 
Result so far: 41057.58634
Subtracting 0 from 160 leaves us with 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1600, and continue the process.

Advancing to step 15:
776 can be fit into 1600 2 times, resulting in a remainder of 48.
Write down 2 as next digit of the result. 
Result so far: 41057.5863402
Subtracting 1552 from 1600 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Step 16:
When dividing 480 by 776, we get 0 with a remainder of 480.
The number 0 becomes the next digit in our result. 
Result so far: 41057.5863402
The remainder is 480 after subtracting 0 from 480.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

The final outcome is 41057.5863402, with a leftover of 4.8e-07.