We're dividing 318358 by 77 
Let's see how many times 77 fits into 318358.

Advancing to step 1:
3 divided by 77 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 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.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 31, we get 31.
Append the next digit (8) from the dividend to 31 and continue with: 318 / 77

On to step 3:
318 divided by 77 is 4 with a remainder of 10.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 308 from 318, we get 10.
Append the next digit (3) from the dividend to 10 and continue with: 103 / 77

Going ahead to step 4:
When dividing 103 by 77, we get 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 41.0
If we subtract 77 from 103, we get 26.
Bring next digit (5) of the dividend behind the 26 and repeat the process: 265 / 77

On to step 5:
77 goes into 265 3 times with a remainder of 34.
Write down 3 as next digit of the result. 
Result so far: 413.0
If we take 231 away from 265, we end up with 34.
Bring next digit (8) of the dividend behind the 34 and repeat the process: 348 / 77

Moving on to step 6:
When dividing 348 by 77, we get 4 with a remainder of 40.
Record the quotient 4 as the next digit in the result. 
Result so far: 4134.0
The remainder is 40 after subtracting 308 from 348.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 7:
If we divide 400 by 77, we get 5 and a remainder of 15.
The next digit of our result is 5. 
Result so far: 4134.5
Deduct 385 from 400 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Going ahead to step 8:
The number 77 fits into 150 1 times, leaving a remainder of 73.
Put 1 as the next digit of the answer. 
Result so far: 4134.51
If we subtract 77 from 150, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Advancing to step 9:
If we divide 730 by 77, we get 9 and a remainder of 37.
Record the quotient 9 as the next digit in the result. 
Result so far: 4134.519
If we subtract 693 from 730, we get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 10:
If we divide 370 by 77, we get 4 and a remainder of 62.
The number 4 becomes the next digit in our result. 
Result so far: 4134.5194
The remainder is 62 after subtracting 308 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

On to step 11:
When dividing 620 by 77, we get 8 with a remainder of 4.
Write down 8 as next digit of the result. 
Result so far: 4134.51948
If we subtract 616 from 620, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
When dividing 40 by 77, we get 0 with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 4134.51948
The remainder is 40 after subtracting 0 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Advancing to step 13:
77 can be fit into 400 5 times, resulting in a remainder of 15.
Put 5 as the next digit of the answer. 
Result so far: 4134.5194805
Subtract 385 from 400 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 14:
150 divided by 77 is 1 with a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 4134.51948051
Deduct 77 from 150 and we're left with 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

The quotient of the division is 4134.51948051, and the remainder is 7.3e-08.