864587 ÷ 5 
We want to divide 864587 by 5.

Step 1:
When dividing 8 by 5, we get 1 with a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 5 from 8, we get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 5

Let's proceed to step 2:
36 divided by 5 is 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 17.0
Deduct 35 from 36 and we're left with 1.
Append the next digit (4) from the dividend to 1 and continue with: 14 / 5

Advancing to step 3:
5 goes into 14 2 times with a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 172.0
The remainder is 4 after subtracting 10 from 14.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 5

Let's proceed to step 4:
45 divided by 5 is 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 1729.0
Deduct 45 from 45 and we're left with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 5

Step 5:
When dividing 8 by 5, we get 1 with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 17291.0
Subtracting 5 from 8 leaves us with 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 5

On to step 6:
5 goes into 37 7 times with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 172917.0
Subtracting 35 from 37 leaves us 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.

On to step 7:
If we divide 20 by 5, we get 4 and a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 172917.4
Deduct 20 from 20 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.

Moving on to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 172917.4
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.

Step 9:
0 divided by 5 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 172917.4
If we take 0 away from 0, 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.

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