It is the explanation of the trick shown below in the embedded video.
- Now there are 4 piles created starting from the top of the deck. ( counting 10 downwards and stopping when I get a card match).
- Let x be the number for the card match in the first pile, such that 0<= x <=10.
- It means that the number of cards making a pile can range from 1 to 11 .
- So if you get a card match at x, you stop there, so the number of cards in Pile 1 = 11 - x.
- Similarly let y be the card match for Pile 2, number of cards in Pile 2 = 11 - y
- Let z be the card match for Pile 3 , number of cards in Pile 3 = 11 - z
- Let a be the card match for Pile 4, number of cards in Pile 4 = 11 - a
- Now lets link x,y,z and a.
- We know that in the worst case each pile should have gotten 11 cards each from the deck.
- So now if Pile 1 card match is x then, it leaves out x cards, that should have otherwise belonged to Pile 1 , in the deck. That leaves a total of (41 +x) cards in the deck.
- Now again we shell out (11 - y) cards out (since in the second pile, card match was y). That will leave a total of (30 + x + y) cards in the deck.
- Similarly we give away (11 -z) and (11 - a) number of cards for Piles 3 and 4 respectively. Finally that will leave us with (8 + x+ y+ z+ a) number of cards in the deck.
- Now lets find out what will the position from the top of the deck of our random card.
- Our random card is in the 9 th position from the bottom of this new deck too. ( since we will have disturbed it all along).
- In a pack of (8 + x+ y+ z+ a) cards , the number of cards above the 9th card is ( x+ y+ z+ a - 1)
- So (x + y + z + a) th card from the top will our random card, which was purposefully kept in the top of the 9 card pile previously.