Ternary Search Magic Trick
Think of a number between 1 and 40, then follow the magic cards to reveal your number!
1. Cards→2. Question→3. Result
Card 1
Choose where your number appears
Left
Not Present
Right
5678910111213323334353637383940
141516171819202122
Card 2
Choose where your number appears
Left
Not Present
Right
234111213202122293031383940
567141516232425323334
Card 3
Choose where your number appears
Left
Not Present
Right
1471013161922252831343740
25811141720232629323538
Think of a number between 1 and 40, then select which side of each card contains your number.
The magic will reveal your number through mathematical calculations!