400247 divided by 6 
We're looking to find how many times 6 goes into 400247.

Going ahead to step 1:
6 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 6

On to step 2:
When dividing 40 by 6, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 6.0
Subtract 36 from 40 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 6

Moving on to step 3:
40 divided by 6 is 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 66.0
Deduct 36 from 40 and we're left with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 6

Moving on to step 4:
If we divide 42 by 6, we get 7 and a remainder of 0.
The next digit of our result is 7. 
Result so far: 667.0
The remainder is 0 after subtracting 42 from 42.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 6

Let's proceed to step 5:
6 can be fit into 4 0 times, resulting in a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 6670.0
The remainder is 4 after subtracting 0 from 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 6

On to step 6:
When dividing 47 by 6, we get 7 with a remainder of 5.
The next digit of our result is 7. 
Result so far: 66707.0
The remainder is 5 after subtracting 42 from 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
6 can be fit into 50 8 times, resulting in a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 66707.8
Subtracting 48 from 50 leaves us 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.

On to step 8:
The number 6 fits into 20 3 times, leaving a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 66707.83
Subtract 18 from 20 to 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.

Going ahead to step 9:
6 goes into 20 3 times with a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 66707.833
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.

Our division results in 66707.833 with a remaining 0.0002.