We're dividing 645040 by 77 
Our goal is to divide 645040 by 77.

Step 1:
When dividing 6 by 77, we get 0 with a remainder of 6.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 6 and we're left with 6.
Append the next digit (4) from the dividend to 6 and continue with: 64 / 77

Step 2:
77 can be fit into 64 0 times, resulting in a remainder of 64.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 64 to get 64.
Grab the next digit (5) from the dividend, add it to 64, then carry on: 645 / 77

On to step 3:
When dividing 645 by 77, we get 8 with a remainder of 29.
Record the quotient 8 as the next digit in the result. 
Result so far: 8.0
If we take 616 away from 645, we end up with 29.
Grab the next digit (0) from the dividend, add it to 29, then carry on: 290 / 77

On to step 4:
77 can be fit into 290 3 times, resulting in a remainder of 59.
Use 3 as the next digit of our solution. 
Result so far: 83.0
Subtract 231 from 290 to get 59.
Fetch the next digit (4) from the dividend, attach it to 59 and continue: 594 / 77

Advancing to step 5:
77 can be fit into 594 7 times, resulting in a remainder of 55.
Record the quotient 7 as the next digit in the result. 
Result so far: 837.0
Deduct 539 from 594 and we're left with 55.
Grab the next digit (0) from the dividend, add it to 55, then carry on: 550 / 77

Step 6:
When dividing 550 by 77, we get 7 with a remainder of 11.
The next digit of our result is 7. 
Result so far: 8377.0
The remainder is 11 after subtracting 539 from 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 7:
The number 77 fits into 110 1 times, leaving a remainder of 33.
Write down 1 as next digit of the result. 
Result so far: 8377.1
If we take 77 away from 110, we end up with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Advancing to step 8:
When dividing 330 by 77, we get 4 with a remainder of 22.
Use 4 as the next digit of our solution. 
Result so far: 8377.14
Deduct 308 from 330 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Moving on to step 9:
220 divided by 77 is 2 with a remainder of 66.
Use 2 as the next digit of our solution. 
Result so far: 8377.142
Subtract 154 from 220 to get 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 10:
When dividing 660 by 77, we get 8 with a remainder of 44.
Record the quotient 8 as the next digit in the result. 
Result so far: 8377.1428
Deduct 616 from 660 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Advancing to step 11:
77 goes into 440 5 times with a remainder of 55.
Record the quotient 5 as the next digit in the result. 
Result so far: 8377.14285
Subtract 385 from 440 to get 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Let's proceed to step 12:
550 divided by 77 is 7 with a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 8377.142857
Subtract 539 from 550 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 13:
If we divide 110 by 77, we get 1 and a remainder of 33.
The next digit of our result is 1. 
Result so far: 8377.1428571
Deduct 77 from 110 and we're left with 33.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

On to step 14:
77 can be fit into 330 4 times, resulting in a remainder of 22.
The next digit of our result is 4. 
Result so far: 8377.14285714
The remainder is 22 after subtracting 308 from 330.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

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