40686 ÷ 6 
We're looking to find how many times 6 goes into 40686.

Step 1:
The number 6 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 6

Moving on to step 2:
6 goes into 40 6 times with a remainder of 4.
The next digit of our result is 6. 
Result so far: 6.0
Deduct 36 from 40 and we're left with 4.
Include the next digit (6) from the dividend after 4, then repeat: 46 / 6

Moving on to step 3:
The number 6 fits into 46 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 67.0
Deduct 42 from 46 and we're left with 4.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 6

Let's proceed to step 4:
If we divide 48 by 6, we get 8 and a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 678.0
The remainder is 0 after subtracting 48 from 48.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 6

Advancing to step 5:
6 divided by 6 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 6781.0
Subtracting 6 from 6 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.

Moving on to step 6:
When dividing 0 by 6, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 6781.0
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.

Moving on to step 7:
If we divide 0 by 6, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 6781.0
If we subtract 0 from 0, we get 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 outcome is 6781.0, with a leftover of 0.0.