Author |
Topic: 25 Attempts to Pass an Unknown Test (Read 1446 times) |
|
Barukh
Uberpuzzler
Gender:
Posts: 2276
|
|
25 Attempts to Pass an Unknown Test
« on: Nov 15th, 2011, 11:53am » |
Quote Modify
|
You are going to take a test consisting of 30 yes/no questions on a subject you have zero knowledge. To pass the test, you need to get all the answers right in a single attempt. At every attempt, you supply your answers to every question, and the only information you get back is the number of questions answered correctly. What are the chances you pass the test after 25 attempts? I don't know the answer to this problem, but it looks quite interesting and belonging to at least Medium. I apologize if this is an old problem - haven't been around for a long time
|
|
IP Logged |
|
|
|
towr
wu::riddles Moderator Uberpuzzler
Some people are average, some are just mean.
Gender:
Posts: 13730
|
|
Re: 25 Attempts to Pass an Unknown Test
« Reply #1 on: Nov 15th, 2011, 12:18pm » |
Quote Modify
|
It does sounds somewhat familiar, but if it's been posted before it would be a long while ago and I wouldn't know how to look for it. Welcome back. There's at least a 1 in 64 chance, since you can guarantee 24 correct answers. But you should be able to do much, much better. I expect you should be able to get all combinations were 9 answers or less are "yes", or 21 or more; which gives you at least a 1 in 23 probability (not accounting your chances on the other cases).
|
« Last Edit: Nov 15th, 2011, 12:24pm by towr » |
IP Logged |
Wikipedia, Google, Mathworld, Integer sequence DB
|
|
|
Grimbal
wu::riddles Moderator Uberpuzzler
Gender:
Posts: 7527
|
|
Re: 25 Attempts to Pass an Unknown Test
« Reply #2 on: Nov 16th, 2011, 7:02am » |
Quote Modify
|
It is kind of a variation of mastermind, isn't it? Is it allowed not to answer a question? If not, all possible submissions are equivalent for the first attempt and you can as well start with an all-yes attempt. If you have a method that starts with some yes and some no, you can convert it to a method starting with all-yes by just reversing your guess in all attempts for all the questions you initially answered by no.
|
« Last Edit: Nov 16th, 2011, 7:11am by Grimbal » |
IP Logged |
|
|
|
ThudnBlunder
wu::riddles Moderator Uberpuzzler
The dewdrop slides into the shining Sea
Gender:
Posts: 4489
|
|
Re: 25 Attempts to Pass an Unknown Test
« Reply #3 on: Nov 16th, 2011, 9:12am » |
Quote Modify
|
on Nov 15th, 2011, 12:18pm, towr wrote:It does sounds somewhat familiar, but if it's been posted before it would be a long while ago and I wouldn't know how to look for it. Welcome back. |
| Merely a fleeting visit, I suspect. Not very long ago.
|
|
IP Logged |
THE MEEK SHALL INHERIT THE EARTH.....................................................................er, if that's all right with the rest of you.
|
|
|
Barukh
Uberpuzzler
Gender:
Posts: 2276
|
|
Re: 25 Attempts to Pass an Unknown Test
« Reply #4 on: Nov 18th, 2011, 1:11am » |
Quote Modify
|
on Nov 16th, 2011, 9:12am, ThudnBlunder wrote: Merely a fleeting visit, I suspect. |
| Not so fast - see my attempt to revive this thread Quote: Ah, I suspected Leo is somehow involved, and now I know there is an elegant solution for 25 attempts version!
|
|
IP Logged |
|
|
|
|