We're dividing 512687 by 78 
Let's see how many times 78 fits into 512687.

Advancing to step 1:
The number 78 fits into 5 0 times, leaving a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 78

Going ahead to step 2:
51 divided by 78 is 0 with a remainder of 51.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 51 leaves us with 51.
Bring next digit (2) of the dividend behind the 51 and repeat the process: 512 / 78

Step 3:
If we divide 512 by 78, we get 6 and a remainder of 44.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Subtracting 468 from 512 leaves us with 44.
Include the next digit (6) from the dividend after 44, then repeat: 446 / 78

On to step 4:
446 divided by 78 is 5 with a remainder of 56.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
Deduct 390 from 446 and we're left with 56.
Grab the next digit (8) from the dividend, add it to 56, then carry on: 568 / 78

Going ahead to step 5:
If we divide 568 by 78, we get 7 and a remainder of 22.
Use 7 as the next digit of our solution. 
Result so far: 657.0
If we subtract 546 from 568, we get 22.
Append the next digit (7) from the dividend to 22 and continue with: 227 / 78

Going ahead to step 6:
The number 78 fits into 227 2 times, leaving a remainder of 71.
Write down 2 as next digit of the result. 
Result so far: 6572.0
If we subtract 156 from 227, we get 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Moving on to step 7:
78 can be fit into 710 9 times, resulting in a remainder of 8.
The next digit of our result is 9. 
Result so far: 6572.9
The remainder is 8 after subtracting 702 from 710.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 8:
If we divide 80 by 78, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 6572.91
Deduct 78 from 80 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Moving on to step 9:
When dividing 20 by 78, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 6572.91
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 10:
78 can be fit into 200 2 times, resulting in a remainder of 44.
Record the quotient 2 as the next digit in the result. 
Result so far: 6572.9102
Deduct 156 from 200 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.

Let's proceed to step 11:
If we divide 440 by 78, we get 5 and a remainder of 50.
Record the quotient 5 as the next digit in the result. 
Result so far: 6572.91025
Subtract 390 from 440 to get 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Step 12:
If we divide 500 by 78, we get 6 and a remainder of 32.
The next digit of our result is 6. 
Result so far: 6572.910256
If we take 468 away from 500, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

On to step 13:
If we divide 320 by 78, we get 4 and a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 6572.9102564
Subtract 312 from 320 to 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 14:
The number 78 fits into 80 1 times, leaving a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 6572.91025641
Subtracting 78 from 80 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 6572.91025641 and a remainder of 2e-09.