We look at the division of 165979 by 6 
Let's see how many times 6 fits into 165979.

Moving on to step 1:
The number 6 fits into 1 0 times, leaving a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (6) of the dividend behind the 1 and repeat the process: 16 / 6

Let's proceed to step 2:
6 can be fit into 16 2 times, resulting in a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Deduct 12 from 16 and we're left with 4.
Take the next digit (5) from the dividend and append it to 4, then repeat: 45 / 6

Moving on to step 3:
When dividing 45 by 6, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 27.0
Subtract 42 from 45 to get 3.
Bring next digit (9) of the dividend behind the 3 and repeat the process: 39 / 6

On to step 4:
If we divide 39 by 6, we get 6 and a remainder of 3.
Write down 6 as next digit of the result. 
Result so far: 276.0
If we subtract 36 from 39, we get 3.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 6

Moving on to step 5:
6 can be fit into 37 6 times, resulting in a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 2766.0
If we take 36 away from 37, we end up with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 6

Let's proceed to step 6:
6 goes into 19 3 times with a remainder of 1.
The next digit of our result is 3. 
Result so far: 27663.0
Subtracting 18 from 19 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 7:
6 goes into 10 1 times with a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 27663.1
The remainder is 4 after subtracting 6 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 8:
The number 6 fits into 40 6 times, leaving a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 27663.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.

Advancing to step 9:
The number 6 fits into 40 6 times, leaving a remainder of 4.
The next digit of our result is 6. 
Result so far: 27663.166
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.

Our division results in 27663.166 with a remaining 0.0004.