We divide 594991 by 6
We're looking to find how many times 6 goes into 594991.

Advancing to 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.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 6

Let's proceed to step 2:
When dividing 59 by 6, we get 9 with a remainder of 5.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 54 from 59, we get 5.
Append the next digit (4) from the dividend to 5 and continue with: 54 / 6

Step 3:
When dividing 54 by 6, we get 9 with a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 99.0
Subtracting 54 from 54 leaves us with 0.
Grab the next digit (9) from the dividend, add it to 0, then carry on: 9 / 6

Advancing to step 4:
If we divide 9 by 6, we get 1 and a remainder of 3.
Put 1 as the next digit of the answer. 
Result so far: 991.0
Deduct 6 from 9 and we're left with 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 6

Moving on to step 5:
39 divided by 6 is 6 with a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 9916.0
Deduct 36 from 39 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 6

On to step 6:
If we divide 31 by 6, we get 5 and a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 99165.0
The remainder is 1 after subtracting 30 from 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
6 goes into 10 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 99165.1
Deduct 6 from 10 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.

On to step 8:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 99165.16
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.

Let's proceed to step 9:
If we divide 40 by 6, we get 6 and a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 99165.166
If we subtract 36 from 40, we 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.

Our division results in 99165.166 with a remaining 0.0004.