We divide 313798 by 77
Let's see how many times 77 fits into 313798.

Moving on to step 1:
When dividing 3 by 77, we get 0 with a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 77

Let's proceed to step 2:
31 divided by 77 is 0 with a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (3) from the dividend, add it to 31, then carry on: 313 / 77

On to step 3:
If we divide 313 by 77, we get 4 and a remainder of 5.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtract 308 from 313 to get 5.
Take the next digit (7) from the dividend and append it to 5, then repeat: 57 / 77

Going ahead to step 4:
57 divided by 77 is 0 with a remainder of 57.
Record the quotient 0 as the next digit in the result. 
Result so far: 40.0
If we subtract 0 from 57, we get 57.
Take the next digit (9) from the dividend and append it to 57, then repeat: 579 / 77

Advancing to step 5:
77 can be fit into 579 7 times, resulting in a remainder of 40.
Put 7 as the next digit of the answer. 
Result so far: 407.0
If we subtract 539 from 579, we get 40.
Append the next digit (8) from the dividend to 40 and continue with: 408 / 77

Moving on to step 6:
77 can be fit into 408 5 times, resulting in a remainder of 23.
Write down 5 as next digit of the result. 
Result so far: 4075.0
Deduct 385 from 408 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Moving on to step 7:
When dividing 230 by 77, we get 2 with a remainder of 76.
Put 2 as the next digit of the answer. 
Result so far: 4075.2
If we subtract 154 from 230, we get 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

On to step 8:
77 can be fit into 760 9 times, resulting in a remainder of 67.
Put 9 as the next digit of the answer. 
Result so far: 4075.29
Subtract 693 from 760 to 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.

Going ahead to step 9:
670 divided by 77 is 8 with a remainder of 54.
Record the quotient 8 as the next digit in the result. 
Result so far: 4075.298
If we subtract 616 from 670, we 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.

Going ahead to step 10:
When dividing 540 by 77, we get 7 with a remainder of 1.
Use 7 as the next digit of our solution. 
Result so far: 4075.2987
Deduct 539 from 540 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Step 11:
77 can be fit into 10 0 times, resulting in a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 4075.2987
The remainder is 10 after subtracting 0 from 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 12:
When dividing 100 by 77, we get 1 with a remainder of 23.
Put 1 as the next digit of the answer. 
Result so far: 4075.298701
Deduct 77 from 100 and we're left with 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 13:
230 divided by 77 is 2 with a remainder of 76.
Record the quotient 2 as the next digit in the result. 
Result so far: 4075.2987012
If we take 154 away from 230, we end up 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.

Going ahead to step 14:
If we divide 760 by 77, we get 9 and a remainder of 67.
The next digit of our result is 9. 
Result so far: 4075.29870129
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.

Our division results in 4075.29870129 with a remaining 6.7e-08.