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

Step 1:
The number 786 fits into 3 0 times, leaving a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 786

Advancing to step 2:
The number 786 fits into 31 0 times, leaving a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Append the next digit (0) from the dividend to 31 and continue with: 310 / 786

Step 3:
When dividing 310 by 786, we get 0 with a remainder of 310.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 310 leaves us with 310.
Append the next digit (7) from the dividend to 310 and continue with: 3107 / 786

Step 4:
The number 786 fits into 3107 3 times, leaving a remainder of 749.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtract 2358 from 3107 to get 749.
Include the next digit (6) from the dividend after 749, then repeat: 7496 / 786

Moving on to step 5:
786 can be fit into 7496 9 times, resulting in a remainder of 422.
Put 9 as the next digit of the answer. 
Result so far: 39.0
If we take 7074 away from 7496, we end up with 422.
Include the next digit (0) from the dividend after 422, then repeat: 4220 / 786

Moving on to step 6:
786 goes into 4220 5 times with a remainder of 290.
The number 5 becomes the next digit in our result. 
Result so far: 395.0
Subtract 3930 from 4220 to get 290.
Take the next digit (3) from the dividend and append it to 290, then repeat: 2903 / 786

Let's proceed to step 7:
When dividing 2903 by 786, we get 3 with a remainder of 545.
The next digit of our result is 3. 
Result so far: 3953.0
If we take 2358 away from 2903, we end up with 545.
Fetch the next digit (1) from the dividend, attach it to 545 and continue: 5451 / 786

Moving on to step 8:
When dividing 5451 by 786, we get 6 with a remainder of 735.
The next digit of our result is 6. 
Result so far: 39536.0
The remainder is 735 after subtracting 4716 from 5451.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7350, and continue the process.

Advancing to step 9:
When dividing 7350 by 786, we get 9 with a remainder of 276.
The number 9 becomes the next digit in our result. 
Result so far: 39536.9
Deduct 7074 from 7350 and we're left with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Let's proceed to step 10:
If we divide 2760 by 786, we get 3 and a remainder of 402.
Use 3 as the next digit of our solution. 
Result so far: 39536.93
If we subtract 2358 from 2760, we get 402.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4020, and continue the process.

Moving on to step 11:
786 goes into 4020 5 times with a remainder of 90.
Write down 5 as next digit of the result. 
Result so far: 39536.935
Subtracting 3930 from 4020 leaves us with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

Moving on to step 12:
786 can be fit into 900 1 times, resulting in a remainder of 114.
Use 1 as the next digit of our solution. 
Result so far: 39536.9351
If we take 786 away from 900, we end up with 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Moving on to step 13:
1140 divided by 786 is 1 with a remainder of 354.
Put 1 as the next digit of the answer. 
Result so far: 39536.93511
Deduct 786 from 1140 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.

Our division results in 39536.93511 with a remaining 0.000354.