We're dividing 331717 by 6 
Let's see how many times 6 fits into 331717.

Moving on to step 1:
When dividing 3 by 6, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 6

Advancing to step 2:
The number 6 fits into 33 5 times, leaving a remainder of 3.
Write down 5 as next digit of the result. 
Result so far: 5.0
The remainder is 3 after subtracting 30 from 33.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 6

Going ahead to step 3:
The number 6 fits into 31 5 times, leaving a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 55.0
If we subtract 30 from 31, we get 1.
Take the next digit (7) from the dividend and append it to 1, then repeat: 17 / 6

On to step 4:
If we divide 17 by 6, we get 2 and a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 552.0
Deduct 12 from 17 and we're left with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 6

On to step 5:
6 goes into 51 8 times with a remainder of 3.
The next digit of our result is 8. 
Result so far: 5528.0
If we subtract 48 from 51, we get 3.
Grab the next digit (7) from the dividend, add it to 3, then carry on: 37 / 6

Going ahead to step 6:
6 can be fit into 37 6 times, resulting in a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 55286.0
If we take 36 away from 37, we end up 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.

Let's proceed to step 7:
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: 55286.1
Subtract 6 from 10 to 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.

Step 8:
6 can be fit into 40 6 times, resulting in a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 55286.16
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 9:
6 goes into 40 6 times with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 55286.166
Subtract 36 from 40 to 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 final result is 55286.166 with a remainder of 0.0004.