An old logic question goes something like this:
A teacher tells her students on Monday that there will be a test this week, but they will not know on which day till the morning of. The students think about this and come to the conclusion that there will be no test this week. Why?
The accepted answer to this is that the test cannot be on Friday, since that's the last day it could be on, so the students would know the night before it had to be that day. Therefore the test must occur by Thursday. However the test cannot occur on Thursday, since that's the last day it could occur on, so they would know the night before. They apply this logic recursively, eliminating every day this week, and decide therefore the test cannot occur this week.
Suppose the teacher then had the test on Thursday (or Wednesday, or whathaveyou). None of the students would see it coming, so clearly their logic fails at some point.
What is the exact error in their logic?