All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > General
Magic trick (Posted on 2007-05-11) Difficulty: 3 of 5
Two magicians A and B perform the following trick:

A leaves the room and B chooses 4 members from the audience at random. Each member chooses a card numbered from 1 to 100 (each chooses a different card) and after B has seen their cards he chooses a card from the remaining deck of cards. The 5 chosen cards are shuffled by an audience member and handed to A who just returned to the room. Prove that A is able to figure out which cards each member picked. Consider that the chosen members form a row and e.g. the leftmost member picks the first card and the rightmost member (B) picks the last card.

No Solution Yet Submitted by atheron    
Rating: 4.1667 (6 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(3): please read | Comment 21 of 51 |
(In reply to re(2): please read by Ken Haley)

OK, Ady, I've found a failing case for your algorithm.

Suppose the audience choices are : C chooses 100, D chooses 20, E chooses 80, and F chooses 60.  When arranged in sequence the audience members are DFEC, and the numbers are 20, 60, 80, 100.  The only gap of 24 or more is between 20 and 60.  DFEC is the 20th permutation of the table you said A should memorize (if it's not, change the audience selection to get to the 20th permuation, but I think this is it).  So B finds card 40 and adds it to the original set of 4 cards, shuffles all 5 and gives them to A.

A now sorts the cards he's been given and sees that they are 20, 40, 60, 80, 100.  All the gaps are equal.  How is A supposed to know which card is the one B inserted?

 


  Posted by Ken Haley on 2007-05-12 18:46:37
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (0)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information