We're dividing 516040 by 5 
We want to divide 516040 by 5.

Let's proceed to step 1:
The number 5 fits into 5 1 times, leaving a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
If we take 5 away from 5, we end up with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 5

Going ahead to step 2:
When dividing 1 by 5, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
The remainder is 1 after subtracting 0 from 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 5

Let's proceed to step 3:
16 divided by 5 is 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 103.0
Subtract 15 from 16 to get 1.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 5

On to step 4:
5 can be fit into 10 2 times, resulting in a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 1032.0
Subtracting 10 from 10 leaves us with 0.
Append the next digit (4) from the dividend to 0 and continue with: 4 / 5

Moving on to step 5:
If we divide 4 by 5, we get 0 and a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 10320.0
The remainder is 4 after subtracting 0 from 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 5

On to step 6:
40 divided by 5 is 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 103208.0
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.

On to step 7:
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: 103208.0
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.

Advancing to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 103208.0
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.

Our division results in 103208.0 with a remaining 0.0.