171566 divided by 6 
Our goal is to divide 171566 by 6.

Let's proceed to step 1:
6 can be fit into 1 0 times, resulting in a remainder of 1.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 6

Advancing to step 2:
6 can be fit into 17 2 times, resulting in a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
The remainder is 5 after subtracting 12 from 17.
Include the next digit (1) from the dividend after 5, then repeat: 51 / 6

Let's proceed to step 3:
51 divided by 6 is 8 with a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 28.0
The remainder is 3 after subtracting 48 from 51.
Take the next digit (5) from the dividend and append it to 3, then repeat: 35 / 6

Step 4:
If we divide 35 by 6, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 285.0
The remainder is 5 after subtracting 30 from 35.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 6

On to step 5:
56 divided by 6 is 9 with a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 2859.0
If we subtract 54 from 56, we get 2.
Append the next digit (6) from the dividend to 2 and continue with: 26 / 6

Let's proceed to step 6:
6 goes into 26 4 times with a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 28594.0
Deduct 24 from 26 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.

Moving on to step 7:
When dividing 20 by 6, we get 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 28594.3
If we subtract 18 from 20, we 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 8:
If we divide 20 by 6, we get 3 and a remainder of 2.
The next digit of our result is 3. 
Result so far: 28594.33
Deduct 18 from 20 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.

Our division results in 28594.33 with a remaining 0.002.