We divide 317087 by 77
Our goal is to divide 317087 by 77.

On to step 1:
3 divided by 77 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 77

Advancing to step 2:
77 can be fit into 31 0 times, resulting in a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (7) from the dividend, add it to 31, then carry on: 317 / 77

Step 3:
When dividing 317 by 77, we get 4 with a remainder of 9.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 9 after subtracting 308 from 317.
Include the next digit (0) from the dividend after 9, then repeat: 90 / 77

Going ahead to step 4:
The number 77 fits into 90 1 times, leaving a remainder of 13.
The next digit of our result is 1. 
Result so far: 41.0
Deduct 77 from 90 and we're left with 13.
Take the next digit (8) from the dividend and append it to 13, then repeat: 138 / 77

Step 5:
138 divided by 77 is 1 with a remainder of 61.
Use 1 as the next digit of our solution. 
Result so far: 411.0
Deduct 77 from 138 and we're left with 61.
Append the next digit (7) from the dividend to 61 and continue with: 617 / 77

Let's proceed to step 6:
When dividing 617 by 77, we get 8 with a remainder of 1.
Use 8 as the next digit of our solution. 
Result so far: 4118.0
Subtract 616 from 617 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
77 goes into 10 0 times with a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 4118.0
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Let's proceed to step 8:
When dividing 100 by 77, we get 1 with a remainder of 23.
The next digit of our result is 1. 
Result so far: 4118.01
The remainder is 23 after subtracting 77 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Let's proceed to step 9:
When dividing 230 by 77, we get 2 with a remainder of 76.
Write down 2 as next digit of the result. 
Result so far: 4118.012
Subtracting 154 from 230 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 10:
The number 77 fits into 760 9 times, leaving a remainder of 67.
Record the quotient 9 as the next digit in the result. 
Result so far: 4118.0129
If we subtract 693 from 760, we get 67.
Since there are no more digits in the dividend, we add a zero to the remainder making it 670, and continue the process.

Let's proceed to step 11:
77 goes into 670 8 times with a remainder of 54.
The number 8 becomes the next digit in our result. 
Result so far: 4118.01298
Subtract 616 from 670 to get 54.
Since there are no more digits in the dividend, we add a zero to the remainder making it 540, and continue the process.

On to step 12:
77 can be fit into 540 7 times, resulting in a remainder of 1.
The next digit of our result is 7. 
Result so far: 4118.012987
The remainder is 1 after subtracting 539 from 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 13:
77 goes into 10 0 times with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 4118.012987
If we take 0 away from 10, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 14:
The number 77 fits into 100 1 times, leaving a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 4118.01298701
Subtract 77 from 100 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Our division results in 4118.01298701 with a remaining 2.3e-08.