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

Home > Games
Magic trick (Posted on 2003-05-08) Difficulty: 4 of 5
We have a normal deck of 52 cards. We want to do the following magic trick:

A person from the audience chooses 5 random cards. The magician's assistant looks at the 5 cards, chooses 4 of them, hands them to the magician one by one face up and keeps the other one hidden. The magician then guesses the fifth card (the one that the assistant kept hidden) just by looking at the 4 cards he was handed in.

Is it possible to devise a strategy, so that no matter what the original 5 cards were, the trick always works?

See The Solution Submitted by Fernando    
Rating: 3.8571 (14 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
Some Thoughts re: Lots of Little Somethings | Comment 16 of 20 |
(In reply to Lots of Little Somethings by DJ)

(read the previous comment first)
Actually, on second thought, the 'suit' card could also be used to give an indication of the value, with the way it is laid down. So, you then have four bits to work with, and a straight binary system is effective. Just let A-K represent binary values 1-13 (omit zero so that 2-10 are intuitive). Then use the corners method I described before, or anything else you want, to give each card a value of '1' or '0' by the way it is laid down.
Maybe even by the way they are arranged; you could have them lined up horizontally with cards offset nearer to the assistant given a value of '1' and those nearer the magician a value of '0' (that would make it impossible to distinguish '0000' from '1111', but since we are not using 0 or 15, it does not matter). If you did that, the magician could be turned around or something while the assistant is laying down the cards, to alleviate suspicions of communication by the assistant.
--A second look at the description in the problem says that the assistant hands the cards to the magician, in which case I default to my previous suggestion.

Anyway, however you do it:
0001 = A
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6
0111 = 7
1000 = 8
1001 = 9
1010 = 10
1011 = J
1100 = Q
1101 = K
0000, 1110, 1111 = start sweating!
And the suit of the hidden card is the same as the suit of the first (or the second, third, last, whatever the decision) card.
  Posted by DJ on 2003-05-11 14:43:07

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 (3)
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