Hacker News new | past | comments | ask | show | jobs | submit login

First, saying Mon-Sun is confusing almost everyone since most people start the week on Sun, not Mon. (Even in Europe Christians start the week on Sunday.)

In any case, as I replied here http://news.ycombinator.com/item?id=3290118 you can not remove the duplication! It's two different situations, even though they may appear the same.




ajanuary explains the duplicates problem nicely here: http://news.ycombinator.com/item?id=3290185 so I won't double up.

I've spent the last hour and a half wrestling with the same clash between maths and intuition that you're experiencing so I understand your frustration - 13/27 really is the right answer though.


He explains it, and he's wrong.

Look, I understand your intuition wants you to remove duplicates "They are the same!". But you should resist, because doing that gives incorrect results.


On the contrary - I'm saying that 'removing the duplicates' is counterintuitive and that's why you're having trouble with it, the same as I did.

Besides: please re-read my original post - I didn't mention anything about removing duplicates, and in fact chose to explain the problem in a different way precisely because the duplicate removal thing was so difficult for me to grasp sufficiently to be able to explain it.

Ask yourself this: where does the original 28 come from? One of those 28 permutations appears to be 'Child 1 is Tuesday boy' and 'Child 1 is Tuesday girl'. If you can answer that then you should be able to understand the whole thing.

(edited for clarity)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: