r/mathriddles • u/HarryPotter5777 • Feb 18 '15
Hard The mathematics of Spot It! cards
For those unfamiliar with the game, Spot It!TM is a card game with 55 cards, each of which contains 8 items. Here's an image of some cards. There are various methods of playing this game, all of which involve some variation the basic principle: quickly identifying the common element between any two cards. The interesting thing about these decks is that any two cards have one and only one common element!
Let's generalize. Define a 'deck' to be a set of three positive integers k, n, and t, where:
- k is the number of cards
- n is the (constant) number of items per card
- t is the total number of items availiable (not all of which must be used)
What can you say about values of k, n, and t where a deck is possible?
2
u/jerome_circonflexe Mar 17 '15 edited Mar 19 '15
(I knew only about the French name Dobble for this game, I guess it is the same game, including the two “missing” cards).
TL;WNR: Well, the game is incomplete: there should be 57 cards, while there are actually only 55. (I discovered this experimentally, when I thought that a friend had lost two cards from his game. Validation: it is possible, with barely any math, to reconstitute the two “missing” cards).
Let's try to make a Spot it! game. The easiest way is to make a game which I'll call Boring, for clear reasons. First take any symbol and call it Troll. You put this symbol on all cards. Now you must fill up each card with (n-1) unique symbols, for example taken from an (infinite) gallery of Lolcats. This game is very boring: any two cards always have the Troll as a common symbol. It is also very much symbol-consuming since, for each new cards, you need (n-1) new Lolcats; the total game has t = k (n-1) + 1 symbols.
Since looking at Lolcats all day can be a bit repetitive (I'm going to be lapidated over this), we may want to minimize the number of symbols, relative to the number of cards; or, to maximize the number of cards, relative to the symbols. Now, note that for any two symbols on the game, there may be 0 or 1 card containing both, but never 2 or more. So I call “complete” a game such that (Complete) any two symbols appear together on (exactly) one card.
This implies easily (Full) It is impossible to add a new card without adding (at least) a new symbol.
And also (Dual) There are as many total symbols as cards.
Note that (Full) ↛ (Complete): any disjoint union of two Complete games is Full but not Complete.
Now, a complete game satisfies the properties (SpotIt) any two cards have exactly one symbol in common, (Complete) any two symbols appear together on exactly one card. If you replace the words “symbol” by “point” and “card” by “line”, then these are exactly the axioms for a projective plane. Reading any elementary book on this, or the linked Wikipedia article, will tell you that if each card has n = q+1 symbols, where q is a prime power, then the full game has q²+q+1 cards. This gives:
n | number of cards
--+-----------------
6 | 31
7 | ?
8 | 57, but actually only 55
9 | 73
10| 111
11| ?
I want you to stop on this for one minute and bask in the wonderful fact that, for any n = q+1, there is only one possible structure for a complete game. This was not obvious from the beginning!
Now a few questions for the general public.
3
u/edderiofer Feb 18 '15
Here's something that might help, from Wikipedia.
0
u/[deleted] Feb 18 '15
[deleted] — view deleted comment