Let's divide 506471 by 77
Our goal is to divide 506471 by 77.

Step 1:
The number 77 fits into 5 0 times, leaving a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 77

Going ahead to step 2:
The number 77 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Grab the next digit (6) from the dividend, add it to 50, then carry on: 506 / 77

Step 3:
The number 77 fits into 506 6 times, leaving a remainder of 44.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
The remainder is 44 after subtracting 462 from 506.
Bring next digit (4) of the dividend behind the 44 and repeat the process: 444 / 77

Let's proceed to step 4:
If we divide 444 by 77, we get 5 and a remainder of 59.
Record the quotient 5 as the next digit in the result. 
Result so far: 65.0
If we subtract 385 from 444, we get 59.
Bring next digit (7) of the dividend behind the 59 and repeat the process: 597 / 77

Step 5:
If we divide 597 by 77, we get 7 and a remainder of 58.
Put 7 as the next digit of the answer. 
Result so far: 657.0
Subtract 539 from 597 to get 58.
Bring next digit (1) of the dividend behind the 58 and repeat the process: 581 / 77

Let's proceed to step 6:
When dividing 581 by 77, we get 7 with a remainder of 42.
The number 7 becomes the next digit in our result. 
Result so far: 6577.0
Deduct 539 from 581 and we're left with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 7:
If we divide 420 by 77, we get 5 and a remainder of 35.
Record the quotient 5 as the next digit in the result. 
Result so far: 6577.5
The remainder is 35 after subtracting 385 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 8:
350 divided by 77 is 4 with a remainder of 42.
Record the quotient 4 as the next digit in the result. 
Result so far: 6577.54
If we take 308 away from 350, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 9:
77 can be fit into 420 5 times, resulting in a remainder of 35.
The next digit of our result is 5. 
Result so far: 6577.545
Subtracting 385 from 420 leaves us with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 10:
77 goes into 350 4 times with a remainder of 42.
Use 4 as the next digit of our solution. 
Result so far: 6577.5454
Subtract 308 from 350 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 11:
77 goes into 420 5 times with a remainder of 35.
Record the quotient 5 as the next digit in the result. 
Result so far: 6577.54545
Deduct 385 from 420 and we're left with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 12:
The number 77 fits into 350 4 times, leaving a remainder of 42.
The next digit of our result is 4. 
Result so far: 6577.545454
If we take 308 away from 350, we end up with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 13:
The number 77 fits into 420 5 times, leaving a remainder of 35.
The next digit of our result is 5. 
Result so far: 6577.5454545
The remainder is 35 after subtracting 385 from 420.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Going ahead to step 14:
77 can be fit into 350 4 times, resulting in a remainder of 42.
The number 4 becomes the next digit in our result. 
Result so far: 6577.54545454
Subtracting 308 from 350 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final result is 6577.54545454 with a remainder of 4.2e-08.