We look at the division of 309031 by 77 
We want to divide 309031 by 77.

Advancing to step 1:
77 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (0) from the dividend after 3, then repeat: 30 / 77

Let's proceed to step 2:
The number 77 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Grab the next digit (9) from the dividend, add it to 30, then carry on: 309 / 77

Moving on to step 3:
309 divided by 77 is 4 with a remainder of 1.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 1 after subtracting 308 from 309.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 77

Step 4:
10 divided by 77 is 0 with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 40.0
Subtracting 0 from 10 leaves us with 10.
Include the next digit (3) from the dividend after 10, then repeat: 103 / 77

On to step 5:
77 goes into 103 1 times with a remainder of 26.
The number 1 becomes the next digit in our result. 
Result so far: 401.0
Deduct 77 from 103 and we're left with 26.
Bring next digit (1) of the dividend behind the 26 and repeat the process: 261 / 77

Advancing to step 6:
77 goes into 261 3 times with a remainder of 30.
Record the quotient 3 as the next digit in the result. 
Result so far: 4013.0
Subtract 231 from 261 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 7:
When dividing 300 by 77, we get 3 with a remainder of 69.
The number 3 becomes the next digit in our result. 
Result so far: 4013.3
Subtract 231 from 300 to get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Moving on to step 8:
77 can be fit into 690 8 times, resulting in a remainder of 74.
Use 8 as the next digit of our solution. 
Result so far: 4013.38
The remainder is 74 after subtracting 616 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

On to step 9:
77 can be fit into 740 9 times, resulting in a remainder of 47.
Write down 9 as next digit of the result. 
Result so far: 4013.389
Subtract 693 from 740 to get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 10:
When dividing 470 by 77, we get 6 with a remainder of 8.
The next digit of our result is 6. 
Result so far: 4013.3896
If we subtract 462 from 470, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 11:
If we divide 80 by 77, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 4013.38961
Subtracting 77 from 80 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 12:
When dividing 30 by 77, we get 0 with a remainder of 30.
The next digit of our result is 0. 
Result so far: 4013.38961
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 13:
If we divide 300 by 77, we get 3 and a remainder of 69.
Write down 3 as next digit of the result. 
Result so far: 4013.3896103
If we subtract 231 from 300, we get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Step 14:
77 goes into 690 8 times with a remainder of 74.
The next digit of our result is 8. 
Result so far: 4013.38961038
The remainder is 74 after subtracting 616 from 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 740, and continue the process.

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