We're dividing 512899 by 5 
Our goal is to divide 512899 by 5.

Moving on to step 1:
If we divide 5 by 5, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtracting 5 from 5 leaves us with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 5

Advancing to step 2:
When dividing 1 by 5, we get 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 10.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 5

On to step 3:
The number 5 fits into 12 2 times, leaving a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 102.0
The remainder is 2 after subtracting 10 from 12.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 5

Going ahead to step 4:
28 divided by 5 is 5 with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 1025.0
Deduct 25 from 28 and we're left with 3.
Include the next digit (9) from the dividend after 3, then repeat: 39 / 5

On to step 5:
When dividing 39 by 5, we get 7 with a remainder of 4.
The next digit of our result is 7. 
Result so far: 10257.0
Deduct 35 from 39 and we're left with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 5

Moving on to step 6:
When dividing 49 by 5, we get 9 with a remainder of 4.
The next digit of our result is 9. 
Result so far: 102579.0
If we take 45 away from 49, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 7:
When dividing 40 by 5, we get 8 with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 102579.8
Deduct 40 from 40 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 8:
0 divided by 5 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 102579.8
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 9:
0 divided by 5 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 102579.8
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 102579.8 and a remainder of 0.0.