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

Advancing to step 1:
77 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 77

Let's proceed to step 2:
The number 77 fits into 40 0 times, leaving a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 40, we end up with 40.
Grab the next digit (7) from the dividend, add it to 40, then carry on: 407 / 77

Let's proceed to step 3:
77 can be fit into 407 5 times, resulting in a remainder of 22.
The next digit of our result is 5. 
Result so far: 5.0
Deduct 385 from 407 and we're left with 22.
Take the next digit (9) from the dividend and append it to 22, then repeat: 229 / 77

Going ahead to step 4:
229 divided by 77 is 2 with a remainder of 75.
The number 2 becomes the next digit in our result. 
Result so far: 52.0
Deduct 154 from 229 and we're left with 75.
Bring next digit (3) of the dividend behind the 75 and repeat the process: 753 / 77

Moving on to step 5:
77 goes into 753 9 times with a remainder of 60.
Write down 9 as next digit of the result. 
Result so far: 529.0
If we take 693 away from 753, we end up with 60.
Fetch the next digit (6) from the dividend, attach it to 60 and continue: 606 / 77

Advancing to step 6:
77 goes into 606 7 times with a remainder of 67.
Write down 7 as next digit of the result. 
Result so far: 5297.0
Subtracting 539 from 606 leaves us with 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 7:
77 goes into 670 8 times with a remainder of 54.
The number 8 becomes the next digit in our result. 
Result so far: 5297.8
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.

Let's proceed to step 8:
When dividing 540 by 77, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 5297.87
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.

On to step 9:
If we divide 10 by 77, we get 0 and a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 5297.87
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 10:
If we divide 100 by 77, we get 1 and a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 5297.8701
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 11:
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: 5297.87012
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.

Moving on to step 12:
77 can be fit into 760 9 times, resulting in a remainder of 67.
Use 9 as the next digit of our solution. 
Result so far: 5297.870129
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 13:
The number 77 fits into 670 8 times, leaving a remainder of 54.
Use 8 as the next digit of our solution. 
Result so far: 5297.8701298
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.

Advancing to step 14:
77 goes into 540 7 times with a remainder of 1.
The next digit of our result is 7. 
Result so far: 5297.87012987
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.

The final result is 5297.87012987 with a remainder of 1e-09.