It is the year 2020. Anti-intellectual conservatives rule much of the world, locking up anyone who might be smarter than they are. In one of thousands of gulags spread across Jesusland (formerly known as the continental United States) a particular warden with a chip on his shoulder about the oh-so-superior eggheads under his charge devises a fiendish experiment to torment them.
The warden has five of the most smug and superior mathematicians removed from their isolated sound-proof cells and brought to a room, to inform them that they have completed their terms for thought-crimes against the common-sense wisdom of ordinary God-fearing people, but that there is just one thing he needs them to do before they are released. He has them seated, then gestures to a small metal case on the table in front on them, on the front of which are five toggle switches in a row and a menacing red flashing light.

“Gentlemen and Ladies. Your sentences are complete, and inside this case are your official release papers. But I have decided not to process them just yet. Instead, I wish to teach you a much-needed lesson in humility. You see there are five switches here, they control the electronic lock on this case. And there is only one arrangement of the switches which will open the case. It is like what you call, binary, no?”
The mathematicians nod silently, and the warden continues.
“Each day at noon I shall select one of you at random, and have this case brought to you in your cell, at which time you may choose, optionally, to flip the position of any one of the five switches you see here. And that’s it. A maximum of one flip per visit.”
The mathematicians listen attentively, and say nothing.
“Now… if and when any of you hit upon the correct combination the case will automatically open, and all five of you may take your leave, to undergo cultural rehabilitation or be deported to a heathen country of your choosing.”
The mathematicians keep listening.
“HOWEVER!” screams the warden, as his face breaks into an evil grin, “if the same combination is ever tried twice– and this is my favorite part– a small incendiary device inside the case will be triggered, destroying your only hope of freedom, and probably burning you quite badly into the bargain!”
One of the mathematicians raises her hand, “This all sounds a bit elaborate. Did you have the case made specifically for this test?”
“My dear sorry excuse for a Lady, this is none of your concern– suffice it to say we have substantial engineering resources to draw upon from E Block. Now, I leave you to ponder your fates. You have 5 minutes to decide how you will play this fiendish game, after which you will be escorted back to your cells, probably to never see each other again. Bwoohahaha!”
With that the warden snatches up the case and leaves the room.
“Oh crap” says one mathematician, “Did anyone think to check the current combination?”
His comrades shake their heads sadly, and they quickly set about devising a plan.
__________
What is the best plan? How long until the mathematicians are free?
Supplemental: Since RichardC answered this one pretty quick, I want to see solutions to the above which will still work in the situation that the evil warden decides to skip a random day each week.

A few months back, a long term coma patient named Rom Houben
I stopped in at the Warehouse this evening (a popular chain store here in New Zealand) to buy a sink plunger, something which for some reason was not stocked by my local supermarket. As I roamed the hardware aisles searching in vain a moderately attractive woman and [presumably] her young daughter stopped me to ask a question.
