We look at the division of 510872 by 5 
We want to divide 510872 by 5.

On to step 1:
When dividing 5 by 5, we get 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 0 after subtracting 5 from 5.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 5

On to step 2:
When dividing 1 by 5, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 5

Step 3:
10 divided by 5 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 102.0
If we take 10 away from 10, we end up with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 5

Let's proceed to step 4:
The number 5 fits into 8 1 times, leaving a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 1021.0
Subtracting 5 from 8 leaves us with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 5

Going ahead to step 5:
The number 5 fits into 37 7 times, leaving a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 10217.0
Subtracting 35 from 37 leaves us with 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 5

Advancing to step 6:
5 goes into 22 4 times with a remainder of 2.
The next digit of our result is 4. 
Result so far: 102174.0
If we subtract 20 from 22, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Let's proceed to step 7:
5 can be fit into 20 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 102174.4
If we take 20 away from 20, we end up 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.

Moving on to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 102174.4
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:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 102174.4
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 102174.4, with a leftover of 0.0.