We divide 587684 by 5
We want to figure out the number of times 587684 can be divided by 5.

Going ahead 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.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 5

Advancing to step 2:
When dividing 8 by 5, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we take 5 away from 8, we end up with 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 5

On to step 3:
5 can be fit into 37 7 times, resulting in a remainder of 2.
Use 7 as the next digit of our solution. 
Result so far: 117.0
If we subtract 35 from 37, we get 2.
Take the next digit (6) from the dividend and append it to 2, then repeat: 26 / 5

On to step 4:
5 goes into 26 5 times with a remainder of 1.
Record the quotient 5 as the next digit in the result. 
Result so far: 1175.0
If we subtract 25 from 26, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 5

Let's proceed to step 5:
5 can be fit into 18 3 times, resulting in a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 11753.0
Deduct 15 from 18 and we're left with 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 5

Step 6:
If we divide 34 by 5, we get 6 and a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 117536.0
Subtract 30 from 34 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 7:
The number 5 fits into 40 8 times, leaving a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 117536.8
If we take 40 away from 40, 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.

Advancing to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 117536.8
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.

Let's proceed to step 9:
0 divided by 5 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 117536.8
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.

The quotient of the division is 117536.8, and the remainder is 0.0.