We look at the division of 316745 by 77 
We're looking to find how many times 77 goes into 316745.

Let's proceed to step 1:
If we divide 3 by 77, we get 0 and a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 77

Advancing to step 2:
77 goes into 31 0 times 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.
Include the next digit (6) from the dividend after 31, then repeat: 316 / 77

Step 3:
When dividing 316 by 77, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 4.0
Deduct 308 from 316 and we're left with 8.
Take the next digit (7) from the dividend and append it to 8, then repeat: 87 / 77

Going ahead to step 4:
When dividing 87 by 77, we get 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 41.0
If we take 77 away from 87, we end up with 10.
Bring next digit (4) of the dividend behind the 10 and repeat the process: 104 / 77

Moving on to step 5:
When dividing 104 by 77, we get 1 with a remainder of 27.
Write down 1 as next digit of the result. 
Result so far: 411.0
Subtract 77 from 104 to get 27.
Grab the next digit (5) from the dividend, add it to 27, then carry on: 275 / 77

Step 6:
77 goes into 275 3 times with a remainder of 44.
The next digit of our result is 3. 
Result so far: 4113.0
The remainder is 44 after subtracting 231 from 275.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Step 7:
If we divide 440 by 77, we get 5 and a remainder of 55.
The next digit of our result is 5. 
Result so far: 4113.5
Subtracting 385 from 440 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.

Advancing to step 8:
The number 77 fits into 550 7 times, leaving a remainder of 11.
Use 7 as the next digit of our solution. 
Result so far: 4113.57
Subtract 539 from 550 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 9:
77 can be fit into 110 1 times, resulting in a remainder of 33.
Put 1 as the next digit of the answer. 
Result so far: 4113.571
Subtracting 77 from 110 leaves us with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Going ahead to step 10:
When dividing 330 by 77, we get 4 with a remainder of 22.
Record the quotient 4 as the next digit in the result. 
Result so far: 4113.5714
Subtract 308 from 330 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 11:
77 goes into 220 2 times with a remainder of 66.
Put 2 as the next digit of the answer. 
Result so far: 4113.57142
If we take 154 away from 220, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 12:
If we divide 660 by 77, we get 8 and a remainder of 44.
The number 8 becomes the next digit in our result. 
Result so far: 4113.571428
If we take 616 away from 660, we end up with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Going ahead to step 13:
77 can be fit into 440 5 times, resulting in a remainder of 55.
The next digit of our result is 5. 
Result so far: 4113.5714285
Deduct 385 from 440 and we're left 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.

Advancing to step 14:
550 divided by 77 is 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 4113.57142857
If we take 539 away from 550, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

After the division, we end up with 4113.57142857 and a remainder of 1.1e-08.