We're dividing 7678589 by 509 
We're looking to find how many times 509 goes into 7678589.

Going ahead to step 1:
The number 509 fits into 7 0 times, leaving a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 509

Advancing to step 2:
When dividing 76 by 509, we get 0 with a remainder of 76.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 76 and we're left with 76.
Take the next digit (7) from the dividend and append it to 76, then repeat: 767 / 509

Let's proceed to step 3:
767 divided by 509 is 1 with a remainder of 258.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 509 from 767 and we're left with 258.
Append the next digit (8) from the dividend to 258 and continue with: 2588 / 509

Going ahead to step 4:
2588 divided by 509 is 5 with a remainder of 43.
Record the quotient 5 as the next digit in the result. 
Result so far: 15.0
Subtract 2545 from 2588 to get 43.
Include the next digit (5) from the dividend after 43, then repeat: 435 / 509

Going ahead to step 5:
The number 509 fits into 435 0 times, leaving a remainder of 435.
Record the quotient 0 as the next digit in the result. 
Result so far: 150.0
Subtracting 0 from 435 leaves us with 435.
Append the next digit (8) from the dividend to 435 and continue with: 4358 / 509

Step 6:
509 goes into 4358 8 times with a remainder of 286.
Put 8 as the next digit of the answer. 
Result so far: 1508.0
The remainder is 286 after subtracting 4072 from 4358.
Fetch the next digit (9) from the dividend, attach it to 286 and continue: 2869 / 509

Step 7:
When dividing 2869 by 509, we get 5 with a remainder of 324.
Use 5 as the next digit of our solution. 
Result so far: 15085.0
The remainder is 324 after subtracting 2545 from 2869.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3240, and continue the process.

Going ahead to step 8:
509 can be fit into 3240 6 times, resulting in a remainder of 186.
Put 6 as the next digit of the answer. 
Result so far: 15085.6
The remainder is 186 after subtracting 3054 from 3240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1860, and continue the process.

On to step 9:
If we divide 1860 by 509, we get 3 and a remainder of 333.
Write down 3 as next digit of the result. 
Result so far: 15085.63
Deduct 1527 from 1860 and we're left with 333.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3330, and continue the process.

Advancing to step 10:
The number 509 fits into 3330 6 times, leaving a remainder of 276.
The number 6 becomes the next digit in our result. 
Result so far: 15085.636
Subtracting 3054 from 3330 leaves us with 276.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2760, and continue the process.

Step 11:
The number 509 fits into 2760 5 times, leaving a remainder of 215.
The number 5 becomes the next digit in our result. 
Result so far: 15085.6365
The remainder is 215 after subtracting 2545 from 2760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2150, and continue the process.

Going ahead to step 12:
509 can be fit into 2150 4 times, resulting in a remainder of 114.
Use 4 as the next digit of our solution. 
Result so far: 15085.63654
Subtract 2036 from 2150 to get 114.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Advancing to step 13:
The number 509 fits into 1140 2 times, leaving a remainder of 122.
Use 2 as the next digit of our solution. 
Result so far: 15085.636542
Deduct 1018 from 1140 and we're left with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

Moving on to step 14:
The number 509 fits into 1220 2 times, leaving a remainder of 202.
Record the quotient 2 as the next digit in the result. 
Result so far: 15085.6365422
If we subtract 1018 from 1220, we get 202.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2020, and continue the process.

The final result is 15085.6365422 with a remainder of 2.02e-06.