How Does 21-card trick - Numberphile Work?

The 21-card trick is like a clever puzzle that lets you find a hidden card using just math and counting.

Imagine you have 21 cards in a pile, think of it like having 21 toys on the floor. You pick one card, remember it, and then put it back into the pile somewhere. Then, someone asks you to count off cards in groups of three, kind of like grouping your toys into piles of three.

After doing that three times, the chosen card ends up exactly in the middle, like the most special toy in a line of toys. That’s because 3 × 7 = 21, and after each round, you’re narrowing down where the card could be.

Why It Works Like This

Each time you count off cards, you're making it easier to find your hidden card:

  • First, you narrow it down from 21 to 7
  • Then from 7 to 3
  • Finally, from 3 to just 1

It’s like playing a game of hide and seek, every time the seeker gets closer!

By the end, everyone can see the hidden card because it's right in the middle, no magic needed!

Take the quiz →

Examples

  1. A magician asks you to pick a card, then shuffles the deck. With just three rounds of guessing and choosing, they reveal your card, how is that possible?
  2. Imagine having only 21 cards and being able to guess someone's chosen card by dividing them into groups and asking for choices.
  3. You think the magician can read minds, but it's actually math making it look magical.

Ask a question

See also

Discussion

Recent activity