We divide 516871 by 5
Let's see how many times 5 fits into 516871.

Advancing to step 1:
5 goes into 5 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
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

Step 2:
If we divide 1 by 5, we get 0 and a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtracting 0 from 1 leaves us with 1.
Append the next digit (6) from the dividend to 1 and continue with: 16 / 5

Moving on to step 3:
When dividing 16 by 5, we get 3 with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 103.0
If we take 15 away from 16, we end up with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 5

Step 4:
If we divide 18 by 5, we get 3 and a remainder of 3.
The number 3 becomes the next digit in our result. 
Result so far: 1033.0
If we take 15 away from 18, we end up with 3.
Fetch the next digit (7) from the dividend, attach it to 3 and continue: 37 / 5

Let's proceed to step 5:
If we divide 37 by 5, we get 7 and a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 10337.0
The remainder is 2 after subtracting 35 from 37.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 5

On to step 6:
When dividing 21 by 5, we get 4 with a remainder of 1.
The next digit of our result is 4. 
Result so far: 103374.0
Deduct 20 from 21 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 7:
5 goes into 10 2 times with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 103374.2
Deduct 10 from 10 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.

Going ahead to step 8:
5 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 103374.2
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.

Step 9:
When dividing 0 by 5, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 103374.2
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 quotient of the division is 103374.2, and the remainder is 0.0.