We're dividing 586782 by 5 
Our goal is to divide 586782 by 5.

On to step 1:
5 divided by 5 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 5 from 5, we get 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 5

Let's proceed to step 2:
5 can be fit into 8 1 times, resulting in a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 5 from 8 leaves us with 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 5

Advancing to step 3:
If we divide 36 by 5, we get 7 and a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 117.0
The remainder is 1 after subtracting 35 from 36.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 5

On to step 4:
5 can be fit into 17 3 times, resulting in a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 1173.0
The remainder is 2 after subtracting 15 from 17.
Take the next digit (8) from the dividend and append it to 2, then repeat: 28 / 5

Step 5:
28 divided by 5 is 5 with a remainder of 3.
The number 5 becomes the next digit in our result. 
Result so far: 11735.0
Subtract 25 from 28 to get 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 5

Moving on to step 6:
5 goes into 32 6 times with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 117356.0
The remainder is 2 after subtracting 30 from 32.
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:
20 divided by 5 is 4 with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 117356.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.

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

Step 9:
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: 117356.4
Deduct 0 from 0 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.

Our division results in 117356.4 with a remaining 0.0.