27 Card Trick

Hello stranger. In this pen I wanna show you a pretty cool magic trick. It's a mathematical card trick.

Follow the steps as instructed. You'll be impressed.


Please give me your favorite number between 1 and 27 (you should remember it till the end):

1

Step 1

In this step you need to choose one of these 27 cards. You can choose by clicking on the card. Please make sure to remember this card! Your card will not be saved. If you don't trust me look at the javascript.

A♠
A♥
A♣
A♦
2♠
2♥
2♣
2♦
3♠
3♥
3♣
3♦
4♠
4♥
4♣
4♦
5♠
5♥
5♣
5♦
6♠
6♥
6♣
6♦
7♠
7♥
7♣

Step 2

This step is the same as the following steps 3 and 4. The cards are randomly shuffled by the javascript. There are now 3 rows of cards. Each pile has 9 cards. There's also a button right next to each pile. Please look for your card and click on the button right next to that pile. DON'T cheat, otherwise the trick won't work.




Step 3

This step is the same as the steps 2 and 4. There are now 3 rows of cards. Each pile has 9 cards. There's also a button right next to each pile. Please look for your card and click on the button right next to that pile. DON'T cheat, otherwise the trick won't work.




Step 4

This step is the same as the steps 2 and 3. There are now 3 rows of cards. Each pile has 9 cards. There's also a button right next to each pile. Please look for your card and click on the button right next to that pile. DON'T cheat, otherwise the trick won't work.




Step 5

After 3 rounds of dealing out the cards into 3 piles the order of the cards has changed. If we hold the deck of cards upside down and start dealing out the cards to reveal them we will count each card, starting with 1. What was your favorite number again? ? Have a look at the card of your favorite number. Is that your card?

There is no trick like saving your choice at the beginning. It's a mathemtical card trick.