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

Step 1:
5 divided by 77 is 0 with 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.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 77

On to step 2:
77 goes into 51 0 times with a remainder of 51.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 51, we end up with 51.
Append the next digit (1) from the dividend to 51 and continue with: 511 / 77

Moving on to step 3:
77 goes into 511 6 times with a remainder of 49.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 462 from 511 and we're left with 49.
Append the next digit (2) from the dividend to 49 and continue with: 492 / 77

Going ahead to step 4:
If we divide 492 by 77, we get 6 and a remainder of 30.
The number 6 becomes the next digit in our result. 
Result so far: 66.0
Subtracting 462 from 492 leaves us with 30.
Take the next digit (2) from the dividend and append it to 30, then repeat: 302 / 77

On to step 5:
When dividing 302 by 77, we get 3 with a remainder of 71.
Use 3 as the next digit of our solution. 
Result so far: 663.0
Deduct 231 from 302 and we're left with 71.
Grab the next digit (8) from the dividend, add it to 71, then carry on: 718 / 77

Step 6:
718 divided by 77 is 9 with a remainder of 25.
The number 9 becomes the next digit in our result. 
Result so far: 6639.0
Subtract 693 from 718 to get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Going ahead to step 7:
77 can be fit into 250 3 times, resulting in a remainder of 19.
Put 3 as the next digit of the answer. 
Result so far: 6639.3
Subtracting 231 from 250 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 8:
77 goes into 190 2 times with a remainder of 36.
Write down 2 as next digit of the result. 
Result so far: 6639.32
Subtracting 154 from 190 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Advancing to step 9:
The number 77 fits into 360 4 times, leaving a remainder of 52.
The number 4 becomes the next digit in our result. 
Result so far: 6639.324
The remainder is 52 after subtracting 308 from 360.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 10:
If we divide 520 by 77, we get 6 and a remainder of 58.
Use 6 as the next digit of our solution. 
Result so far: 6639.3246
Deduct 462 from 520 and we're left with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

Let's proceed to step 11:
If we divide 580 by 77, we get 7 and a remainder of 41.
Use 7 as the next digit of our solution. 
Result so far: 6639.32467
If we take 539 away from 580, we end up with 41.
Since there are no more digits in the dividend, we add a zero to the remainder making it 410, and continue the process.

Moving on to step 12:
If we divide 410 by 77, we get 5 and a remainder of 25.
The number 5 becomes the next digit in our result. 
Result so far: 6639.324675
Subtracting 385 from 410 leaves us with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Let's proceed to step 13:
77 goes into 250 3 times with a remainder of 19.
Use 3 as the next digit of our solution. 
Result so far: 6639.3246753
Subtracting 231 from 250 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 14:
When dividing 190 by 77, we get 2 with a remainder of 36.
Use 2 as the next digit of our solution. 
Result so far: 6639.32467532
Subtracting 154 from 190 leaves us with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

The quotient of the division is 6639.32467532, and the remainder is 3.6e-08.