Let's divide 170589 by 6
Let's see how many times 6 fits into 170589.

Step 1:
When dividing 1 by 6, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 6

On to step 2:
If we divide 17 by 6, we get 2 and a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 2.0
The remainder is 5 after subtracting 12 from 17.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 6

Step 3:
6 goes into 50 8 times with a remainder of 2.
The next digit of our result is 8. 
Result so far: 28.0
Deduct 48 from 50 and we're left with 2.
Fetch the next digit (5) from the dividend, attach it to 2 and continue: 25 / 6

Moving on to step 4:
If we divide 25 by 6, we get 4 and a remainder of 1.
Put 4 as the next digit of the answer. 
Result so far: 284.0
Subtracting 24 from 25 leaves us with 1.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 6

Moving on to step 5:
6 can be fit into 18 3 times, resulting in a remainder of 0.
The number 3 becomes the next digit in our result. 
Result so far: 2843.0
If we take 18 away from 18, we end up with 0.
Include the next digit (9) from the dividend after 0, then repeat: 9 / 6

Going ahead to step 6:
9 divided by 6 is 1 with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 28431.0
If we subtract 6 from 9, we get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

On to step 7:
6 goes into 30 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 28431.5
Deduct 30 from 30 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
0 divided by 6 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 28431.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
6 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 28431.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 28431.5 with a remainder of 0.0.