We look at the division of 586726 by 6 
We want to divide 586726 by 6.

Let's proceed to step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Append the next digit (8) from the dividend to 5 and continue with: 58 / 6

Step 2:
6 goes into 58 9 times with a remainder of 4.
Use 9 as the next digit of our solution. 
Result so far: 9.0
Subtract 54 from 58 to get 4.
Take the next digit (6) from the dividend and append it to 4, then repeat: 46 / 6

On to step 3:
If we divide 46 by 6, we get 7 and a remainder of 4.
Use 7 as the next digit of our solution. 
Result so far: 97.0
Deduct 42 from 46 and we're left with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 6

Moving on to step 4:
6 goes into 47 7 times with a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 977.0
The remainder is 5 after subtracting 42 from 47.
Append the next digit (2) from the dividend to 5 and continue with: 52 / 6

Let's proceed to step 5:
If we divide 52 by 6, we get 8 and a remainder of 4.
The next digit of our result is 8. 
Result so far: 9778.0
The remainder is 4 after subtracting 48 from 52.
Include the next digit (6) from the dividend after 4, then repeat: 46 / 6

Step 6:
6 goes into 46 7 times with a remainder of 4.
Write down 7 as next digit of the result. 
Result so far: 97787.0
Subtract 42 from 46 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.

Moving on to step 7:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 97787.6
Subtracting 36 from 40 leaves us with 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 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 97787.66
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 97787.66 with a remaining 0.004.