Let's divide 77171986 by 312
We're looking to find how many times 312 goes into 77171986.

On to step 1:
312 can be fit into 7 0 times, resulting in a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 7 to get 7.
Fetch the next digit (7) from the dividend, attach it to 7 and continue: 77 / 312

On to step 2:
312 goes into 77 0 times with a remainder of 77.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 77 after subtracting 0 from 77.
Bring next digit (1) of the dividend behind the 77 and repeat the process: 771 / 312

On to step 3:
312 can be fit into 771 2 times, resulting in a remainder of 147.
The next digit of our result is 2. 
Result so far: 2.0
Subtracting 624 from 771 leaves us with 147.
Include the next digit (7) from the dividend after 147, then repeat: 1477 / 312

Step 4:
When dividing 1477 by 312, we get 4 with a remainder of 229.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
Subtract 1248 from 1477 to get 229.
Append the next digit (1) from the dividend to 229 and continue with: 2291 / 312

Step 5:
312 can be fit into 2291 7 times, resulting in a remainder of 107.
Put 7 as the next digit of the answer. 
Result so far: 247.0
Subtracting 2184 from 2291 leaves us with 107.
Bring next digit (9) of the dividend behind the 107 and repeat the process: 1079 / 312

Step 6:
312 goes into 1079 3 times with a remainder of 143.
Put 3 as the next digit of the answer. 
Result so far: 2473.0
If we subtract 936 from 1079, we get 143.
Fetch the next digit (8) from the dividend, attach it to 143 and continue: 1438 / 312

Going ahead to step 7:
312 goes into 1438 4 times with a remainder of 190.
The number 4 becomes the next digit in our result. 
Result so far: 24734.0
If we subtract 1248 from 1438, we get 190.
Bring next digit (6) of the dividend behind the 190 and repeat the process: 1906 / 312

Advancing to step 8:
1906 divided by 312 is 6 with a remainder of 34.
Use 6 as the next digit of our solution. 
Result so far: 247346.0
Subtract 1872 from 1906 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

On to step 9:
340 divided by 312 is 1 with a remainder of 28.
The next digit of our result is 1. 
Result so far: 247346.1
The remainder is 28 after subtracting 312 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 10:
If we divide 280 by 312, we get 0 and a remainder of 280.
Put 0 as the next digit of the answer. 
Result so far: 247346.1
Deduct 0 from 280 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

Advancing to step 11:
312 can be fit into 2800 8 times, resulting in a remainder of 304.
The next digit of our result is 8. 
Result so far: 247346.108
Deduct 2496 from 2800 and we're left 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.

Step 12:
The number 312 fits into 3040 9 times, leaving a remainder of 232.
Record the quotient 9 as the next digit in the result. 
Result so far: 247346.1089
Subtract 2808 from 3040 to get 232.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2320, and continue the process.

Step 13:
312 can be fit into 2320 7 times, resulting in a remainder of 136.
Record the quotient 7 as the next digit in the result. 
Result so far: 247346.10897
The remainder is 136 after subtracting 2184 from 2320.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Moving on to step 14:
312 goes into 1360 4 times with a remainder of 112.
The number 4 becomes the next digit in our result. 
Result so far: 247346.108974
Subtracting 1248 from 1360 leaves us with 112.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1120, and continue the process.

On to step 15:
If we divide 1120 by 312, we get 3 and a remainder of 184.
Use 3 as the next digit of our solution. 
Result so far: 247346.1089743
If we take 936 away from 1120, we end up with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Let's proceed to step 16:
312 can be fit into 1840 5 times, resulting in a remainder of 280.
Record the quotient 5 as the next digit in the result. 
Result so far: 247346.10897435
Deduct 1560 from 1840 and we're left with 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2800, and continue the process.

In conclusion, the division gives 247346.10897435 with a balance of 2.8e-07.