|
-
Jan 29th, 2003, 09:49 PM
#1
Thread Starter
Fanatic Member
Sal the Magician
Sal the Magician asks you to pick any five cards from a standard deck (52 cards), 13 denominations (2,3,...,10, J, Q, K, A) and four suits (diamonds, hearts, clubs, spades). You do so, and then show them to Sal's assitant Pat, who places one of the cards back in the deck and puts the remaining cards into a pile. Meanwhile you shuffle the reduced deck of 48 cards several times. Sal is blindfolded, and does not witness any of this. Then Sal takes off the blindfold, takes the pile of cards that Pat arranged, examines it, and then picks out your fifth card from the deck! The deck of cards is not marked, and there is no verbal or visual communication between Sal and Pat. Without supernatural powers, how does Sal know your fifth card?
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 30th, 2003, 05:14 AM
#2
Fanatic Member
OK
Sorry, just a loop hole.
I guess, with your explanation, that Pat can put the card face-up in the pack. That way, when you shuffle it, it will be the only face-up card. So when Sal looks at it, all he/she has to do is pick the face-up card.
Oh, and by marked, does that mean the pictures on the back of the pack are symmetrical??
Otherwise, Pat can put your card back face-down, BUT rotating it 180 degrees from all the other cards. This way, when Sal looks at the shuffled pack from behind, all the pictures on the back of the cards will be up one way except for the chosen one. (This would look cooler, cos Sal could pick out the card without looking at the faces of the deck.)
Oh, and i know both of these are non-maths solutions, so i guess you had another in mind.
sql_lall 
-
Jan 30th, 2003, 07:57 AM
#3
Thread Starter
Fanatic Member
no loopholes. math only and yes you can do it.
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 30th, 2003, 03:27 PM
#4
Fanatic Member
You mentioned the suits and numbers.. that's either a distraction, or a hint...
They could have the initial deck in a certain pattern, unless of course you could pick from any point in the deck.
Don't pay attention to this signature, it's contradictory.
-
Jan 30th, 2003, 04:39 PM
#5
Thread Starter
Fanatic Member
well i didn't make the question up. this is still possible to do if you were the person to pick out any five cards, and put one back of your choice, and re-shuffle the deck. of course you let the assistant rearrange the remaining four cards to his/her likings (hint hint)
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 30th, 2003, 08:37 PM
#6
Fanatic Member
I suppose the assisstant could always give the magician the lowest card in number and suit (picking one suit as lowest...) to raise the odds... then he would fiddle with the cards, using the motions to create morse code, telling the magician what to do.
Don't pay attention to this signature, it's contradictory.
-
Jan 30th, 2003, 08:47 PM
#7
Frenzied Member
but theres no visual or verbal communication er....gotta be something with the assistants organizing
-
Jan 30th, 2003, 10:04 PM
#8
Thread Starter
Fanatic Member
again don't look for loop holes
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 31st, 2003, 02:37 AM
#9
-
Jan 31st, 2003, 07:52 AM
#10
Thread Starter
Fanatic Member
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Jan 31st, 2003, 12:32 PM
#11
Fanatic Member
So let me get this straight, his assisstant arranges the cards to indicate the 5th one? And there's no visual communication? How does that work?
Oh, and he could always press on his foot, that's not verbal/visual ;p
YES IM JOKING
Don't pay attention to this signature, it's contradictory.
-
Jan 31st, 2003, 02:25 PM
#12
One way it could work...
The pack is ordered in some way (total order)
be that suit 1 in order, followed by suit 2, etc.. or the 2s, 3s, 4s, etc, it doesn't matter as long as there is some order.
The four that are left out can then encode 24 different states on the order they are laid out in (4!).
We need to differentiate between 48 cards, so you could say if they're in a line then ot's in the forst 24, if they're in a square it's the last 24.
Meh, not sure if that's foolproof. Got to handle cards having been taken out of the ordering when you count, so not sure how easy it'll be to do in your head. Maybe Sal is good at mental arithmetic.
-
Jan 31st, 2003, 02:49 PM
#13
Fanatic Member
From what I understand you can pick the card from anywhere in the deck and YOU shuffle it afterwards.
bugz (bunny) keeps hinting at the assisstant doing something, even though he said there was no communication.
Don't pay attention to this signature, it's contradictory.
-
Jan 31st, 2003, 04:10 PM
#14
Thread Starter
Fanatic Member
that is basically my idea. i just have a few more comments:
1. it does say to put them in a pile so i guess all you need to do is say if the tile is placed vertically on the table then it is 1-24 and if its placed horizontally on the table then it is 25-48
also, it is not hard to keep track of the cards taken out, just figure out the identity number, than add the number of cards outside that has less identity value than the fifth card.
the hard part in my opinion is given a permutation, figure out in the ordered permutation which one is it.
Originally posted by Evil_Giraffe
One way it could work...
The pack is ordered in some way (total order)
be that suit 1 in order, followed by suit 2, etc.. or the 2s, 3s, 4s, etc, it doesn't matter as long as there is some order.
The four that are left out can then encode 24 different states on the order they are laid out in (4!).
We need to differentiate between 48 cards, so you could say if they're in a line then ot's in the forst 24, if they're in a square it's the last 24.
Meh, not sure if that's foolproof. Got to handle cards having been taken out of the ordering when you count, so not sure how easy it'll be to do in your head. Maybe Sal is good at mental arithmetic.
Last edited by bugzpodder; Feb 1st, 2003 at 09:35 AM.
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 1st, 2003, 05:05 AM
#15
Fanatic Member
ok, thats easy
to figure out the ordered permutation:
give the suits an order (i.e. "hearts" = highest, then spades, diamonds and clubs)
the four cards can then be ranked in order (lowest to highest) 1,2,3,4
then, "x" is first(top of deck), the number is 6x-5->6x
then, if the lowest of the remaining is next, the number is 6x-5 or 6x-4, depending on the arrangement of the last two.
if the middle of the remaining is next, the number is 6x-3 or 6x-2, depending on the arrangement of the last two.
if the highest of the remaining is next, the number is 6x-1 or 6x, depending on the arrangement of the last two.
i.e. if the order was 3142, this would represent #14
1st is "3" => number from 13 to 18
2nd is "1" (lowest remaining) => number 13 or 14
4>2, 14>13 => number is 14
sql_lall 
-
Feb 1st, 2003, 09:37 AM
#16
Thread Starter
Fanatic Member
nice. maybe i'll try the trick sometimes. i just need a good assistant that wouldn't screw me up
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 1st, 2003, 02:43 PM
#17
transcendental analytic
Pal places one of the cards into the pack, which has to count for a bit of information. For instance:
odd amount of red cards, gives +24 in the encoding
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 2nd, 2003, 02:43 AM
#18
-
Feb 2nd, 2003, 10:45 AM
#19
Thread Starter
Fanatic Member
?? Pat doesn't need to know that. i am sure you can do some calculations to figure it out
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 3rd, 2003, 10:35 AM
#20
Hyperactive Member
Either it IS magic...
...or you've quoted the problem incorrectly. As stated, this trick cannot be performed by any sort of mathematical arrangement which points to a particular card (e.g. fifth card) in the pile.
You do so, and then show them to Sal's assitant Pat, who places one of the cards back in the deck and puts the remaining cards into a pile. Meanwhile you shuffle the reduced deck of 48 cards several times.
The pack is shuffled after Pat has put the single card back and arranged the four cards, thus destroying any numeric 'arrangement'. (I'd feel a bit pedantic pointing out that we are assuming you know which card Pat put back).
So, any 'arrangement' theory has to identify that card by suit and number, not by position in the pile (i.e., you could name the fifth card without looking in the pile).
Also, as the problem is stated, or at least as I read it, you can pick ANY five cards, so it could be Ace, 2, 3, 4 and 5 of spades for example. Not that this matters, we just need to figure out a way to use any four cards to identify any of the remaining 48.
      
Dan
Outside of a dog, a book is a man's best friend.
Inside of a dog, it's too dark to read.
-
Feb 3rd, 2003, 04:50 PM
#21
Thread Starter
Fanatic Member
and that is exactly what we did Judd. by putting 4 cards in different order, we can emulate 24 possibilities. if we add another variation (ie deck straight/sideways) we can emulate 2*24=48 possibilities. therefore we can emulate any number from 1-48 using the 4 cards that are outside, which means it can emulate any card in the remaining deck
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 4th, 2003, 05:07 AM
#22
Hyperactive Member
-
Feb 4th, 2003, 04:34 PM
#23
Thread Starter
Fanatic Member
we number 1-13 for A-K of diamonds, 14-26 for A-K of hearts, etc... we will have all 52 cards numbered (who cares about what position there are in in the deck?) then after the guy picks out 5 cards and one is put back, Pat emulates the identity number minus the number of cards out that has a lesser identity number according to the list above.
kedaman: odd number of red cards outside does not necessary gives you more information, although i may have misunderstood your point.
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 5th, 2003, 03:53 AM
#24
Hyperactive Member
-
Feb 5th, 2003, 05:12 AM
#25
transcendental analytic
bugz: yeah just noticed, i just thought putting them in a certain agnle on the table was a loophole, you could get as much information from there if you could read the angle correctly.
how about this:
Find the first of the smallest gaps, and in case these gaps come in a row take the first in the row, If the gap to the card after the next card exceeds 23 take out the card before the gap, otherways take out the card after the gap. EX:
A 24 B 0 C 12 D 11 E 0
BC is the first smallest gap
CE is 24 which exceeds 23
take out A. its 24 - now we encode this to 23, since we know that 0 is not possible, because that would make it first in a row of smallest gaps. We can now use the order of the 4 cards to encode this number 23, as we have 4!=24 permutations which is just what we need to encode all numbers from 0 to 23.
Sal will recieve
E 25 B 0 C 12 D 11 with the 23'th permutation of the ordered cards. He will find the smallest gap BC and find that CE is 24, pointing to that the card is before the smallest gap. He can now reconstruct
A 24 B 0 C 12 D 11 E 0
and decode A.
Note this example was deliberately the worst case, to make sure that the card before the gap can be encoded if needed.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Feb 5th, 2003, 04:09 PM
#26
Thread Starter
Fanatic Member
i don't know what you mean by a gap
Massey RuleZ! ^-^__  Cheers!  __^-^ Massey RuleZ!
Did you know that...
The probability that a random rational number has an even denominator is 1/3 (Salamin and Gosper 1972)? This result is independently verified by me (2002)!
-
Feb 8th, 2003, 05:46 PM
#27
transcendental analytic
take the five cards and sort them by their encoded order 1-52. The gap between two cards a and b is |code52(a)-code52(b)|
just typing out 52 explicitely not to confuse this with the code48 encoding the chosen card which is put back into the deck
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|