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

Moving on to step 1:
6 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 1, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 6

On to step 2:
The number 6 fits into 17 2 times, leaving 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.
Bring next digit (1) of the dividend behind the 5 and repeat the process: 51 / 6

On to step 3:
51 divided by 6 is 8 with a remainder of 3.
Put 8 as the next digit of the answer. 
Result so far: 28.0
If we subtract 48 from 51, we get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 6

Going ahead to step 4:
When dividing 38 by 6, we get 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 286.0
The remainder is 2 after subtracting 36 from 38.
Include the next digit (5) from the dividend after 2, then repeat: 25 / 6

Let's proceed to step 5:
25 divided by 6 is 4 with a remainder of 1.
The number 4 becomes the next digit in our result. 
Result so far: 2864.0
The remainder is 1 after subtracting 24 from 25.
Fetch the next digit (0) from the dividend, attach it to 1 and continue: 10 / 6

On to step 6:
If we divide 10 by 6, we get 1 and a remainder of 4.
Put 1 as the next digit of the answer. 
Result so far: 28641.0
If we take 6 away from 10, 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.

On to step 7:
40 divided by 6 is 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 28641.6
Deduct 36 from 40 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.

Going ahead to step 8:
40 divided by 6 is 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 28641.66
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.

The quotient of the division is 28641.66, and the remainder is 0.004.