We're dividing 510507 by 5 
Let's see how many times 5 fits into 510507.

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.
Take the next digit (1) from the dividend and append it to 0, then repeat: 1 / 5

Advancing to step 2:
5 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 10.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (0) of the dividend behind the 1 and repeat the process: 10 / 5

Moving on to step 3:
When dividing 10 by 5, we get 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 102.0
If we subtract 10 from 10, we get 0.
Include the next digit (5) from the dividend after 0, then repeat: 5 / 5

Let's proceed to step 4:
5 divided by 5 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1021.0
Subtracting 5 from 5 leaves us with 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 5

Moving on to step 5:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 10210.0
Deduct 0 from 0 and we're left with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 5

Let's proceed to step 6:
If we divide 7 by 5, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 102101.0
Deduct 5 from 7 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.

Advancing to step 7:
The number 5 fits into 20 4 times, leaving a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 102101.4
The remainder is 0 after subtracting 20 from 20.
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 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 102101.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.

On to step 9:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 102101.4
Subtract 0 from 0 to 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.

In conclusion, the division gives 102101.4 with a balance of 0.0.