We divide 31116073 by 771
We want to divide 31116073 by 771.

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

Advancing to step 2:
31 divided by 771 is 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 31 and we're left with 31.
Take the next digit (1) from the dividend and append it to 31, then repeat: 311 / 771

On to step 3:
When dividing 311 by 771, we get 0 with a remainder of 311.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 311, we get 311.
Fetch the next digit (1) from the dividend, attach it to 311 and continue: 3111 / 771

Advancing to step 4:
771 goes into 3111 4 times with a remainder of 27.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 3084 from 3111 to get 27.
Include the next digit (6) from the dividend after 27, then repeat: 276 / 771

Advancing to step 5:
When dividing 276 by 771, we get 0 with a remainder of 276.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
The remainder is 276 after subtracting 0 from 276.
Take the next digit (0) from the dividend and append it to 276, then repeat: 2760 / 771

Going ahead to step 6:
The number 771 fits into 2760 3 times, leaving a remainder of 447.
The next digit of our result is 3. 
Result so far: 403.0
Subtracting 2313 from 2760 leaves us with 447.
Grab the next digit (7) from the dividend, add it to 447, then carry on: 4477 / 771

Step 7:
When dividing 4477 by 771, we get 5 with a remainder of 622.
Record the quotient 5 as the next digit in the result. 
Result so far: 4035.0
The remainder is 622 after subtracting 3855 from 4477.
Append the next digit (3) from the dividend to 622 and continue with: 6223 / 771

On to step 8:
6223 divided by 771 is 8 with a remainder of 55.
Record the quotient 8 as the next digit in the result. 
Result so far: 40358.0
Subtracting 6168 from 6223 leaves us with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Moving on to step 9:
550 divided by 771 is 0 with a remainder of 550.
Record the quotient 0 as the next digit in the result. 
Result so far: 40358.0
If we subtract 0 from 550, we get 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

Let's proceed to step 10:
If we divide 5500 by 771, we get 7 and a remainder of 103.
Write down 7 as next digit of the result. 
Result so far: 40358.07
Subtract 5397 from 5500 to get 103.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1030, and continue the process.

Moving on to step 11:
If we divide 1030 by 771, we get 1 and a remainder of 259.
The number 1 becomes the next digit in our result. 
Result so far: 40358.071
The remainder is 259 after subtracting 771 from 1030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

On to step 12:
771 can be fit into 2590 3 times, resulting in a remainder of 277.
Record the quotient 3 as the next digit in the result. 
Result so far: 40358.0713
Subtracting 2313 from 2590 leaves us with 277.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2770, and continue the process.

Let's proceed to step 13:
771 can be fit into 2770 3 times, resulting in a remainder of 457.
Put 3 as the next digit of the answer. 
Result so far: 40358.07133
Subtracting 2313 from 2770 leaves us with 457.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4570, and continue the process.

The final outcome is 40358.07133, with a leftover of 0.000457.