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

Step 1:
If we divide 5 by 6, we get 0 and a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 6

Let's proceed to step 2:
6 goes into 58 9 times with a remainder of 4.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtract 54 from 58 to get 4.
Append the next digit (6) from the dividend to 4 and continue with: 46 / 6

Advancing to step 3:
6 goes into 46 7 times with a remainder of 4.
The next digit of our result is 7. 
Result so far: 97.0
Deduct 42 from 46 and we're left with 4.
Bring next digit (9) of the dividend behind the 4 and repeat the process: 49 / 6

Going ahead to step 4:
49 divided by 6 is 8 with a remainder of 1.
Write down 8 as next digit of the result. 
Result so far: 978.0
If we take 48 away from 49, we end up with 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 6

Step 5:
When dividing 19 by 6, we get 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 9783.0
Subtracting 18 from 19 leaves us with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 6

Step 6:
10 divided by 6 is 1 with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 97831.0
Subtract 6 from 10 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.

Advancing to step 7:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 97831.6
If we take 36 away from 40, we end up 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.

Moving on to step 8:
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: 97831.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.

The quotient of the division is 97831.66, and the remainder is 0.004.