We divide 164390 by 6
Our goal is to divide 164390 by 6.

On to step 1:
6 goes into 1 0 times with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Take the next digit (6) from the dividend and append it to 1, then repeat: 16 / 6

On to step 2:
The number 6 fits into 16 2 times, leaving a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 12 from 16 to get 4.
Append the next digit (4) from the dividend to 4 and continue with: 44 / 6

Going ahead to step 3:
6 goes into 44 7 times with a remainder of 2.
Write down 7 as next digit of the result. 
Result so far: 27.0
Subtracting 42 from 44 leaves us with 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 6

Advancing to step 4:
23 divided by 6 is 3 with a remainder of 5.
Put 3 as the next digit of the answer. 
Result so far: 273.0
Subtracting 18 from 23 leaves us with 5.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 6

Let's proceed to step 5:
59 divided by 6 is 9 with a remainder of 5.
The next digit of our result is 9. 
Result so far: 2739.0
The remainder is 5 after subtracting 54 from 59.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 6

Moving on to step 6:
When dividing 50 by 6, we get 8 with a remainder of 2.
Record the quotient 8 as the next digit in the result. 
Result so far: 27398.0
Deduct 48 from 50 and we're left with 2.
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:
When dividing 20 by 6, we get 3 with a remainder of 2.
The next digit of our result is 3. 
Result so far: 27398.3
The remainder is 2 after subtracting 18 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
20 divided by 6 is 3 with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 27398.33
Subtracting 18 from 20 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

After the division, we end up with 27398.33 and a remainder of 0.002.