We look at the division of 164657 by 6 
Our goal is to divide 164657 by 6.

Let's proceed 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 take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 6

On to step 2:
The number 6 fits into 16 2 times, leaving a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
If we take 12 away from 16, we end up with 4.
Include the next digit (4) from the dividend after 4, then repeat: 44 / 6

Let's proceed 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
If we take 42 away from 44, we end up with 2.
Bring next digit (6) of the dividend behind the 2 and repeat the process: 26 / 6

Step 4:
The number 6 fits into 26 4 times, leaving a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 274.0
If we take 24 away from 26, we end up with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 6

Moving on to step 5:
6 goes into 25 4 times with a remainder of 1.
Write down 4 as next digit of the result. 
Result so far: 2744.0
Deduct 24 from 25 and we're left with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 6

On to step 6:
The number 6 fits into 17 2 times, leaving a remainder of 5.
Write down 2 as next digit of the result. 
Result so far: 27442.0
If we take 12 away from 17, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
50 divided by 6 is 8 with a remainder of 2.
The next digit of our result is 8. 
Result so far: 27442.8
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.

Let's proceed to step 8:
If we divide 20 by 6, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 27442.83
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 9:
6 goes into 20 3 times with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 27442.833
Subtract 18 from 20 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Our division results in 27442.833 with a remaining 0.0002.