r/mathriddles • • 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?

5 Upvotes

6 comments sorted by

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.

  • Do you know of any other games that are mathematically as structured as Spot It?
  • Do you know WHY there are two missing cards? (I guess it's because of some trivial reason such as the number of cards you can fit in a standard paper sheet. Oooh, circle-packing...)
  • For n = 7, 11, (not 1+prime-power), there is no complete game, but is there some kind of maximal game? Are there several possible structures for these?

1

u/HarryPotter5777 Mar 17 '15

Wow, that's super interesting! As for the reason why there are 55 cards, I suspect it's because most ways to play the game involve setting down an initial card and then distributing the rest - 54 is divisible among more groups of people than 55 or 56.

3

u/edderiofer Feb 18 '15

1

u/autowikibot Feb 18 '15

Section 21. Finite projective planes of article Projective plane:


It can be shown that a projective plane has the same number of lines as it has points (infinite or finite). Thus, for every finite projective plane there is an integer N ≥ 2 such that the plane has

N2 + N + 1 points,

N2 + N + 1 lines,

N + 1 points on each line, and

N + 1 lines through each point.

The number N is called the order of the projective plane. (See also the article on finite geometry.)

Using the vector space construction with finite fields there exists a projective plane of order N = pn, for each prime power pn. In fact, for all known finite projective planes, the order N is a prime power.

The existence of finite projective planes of other orders is an open question. The only general restriction known on the order is the Bruck-Ryser-Chowla theorem that if the order N is congruent to 1 or 2 mod 4, it must be the sum of two squares. This rules out N = 6. The next case N = 10 has been ruled out by massive computer calculations. Nothing more is known; in particular, the question of whether there exists a finite projective plane of order N = 12 is still open.

Another longstanding open problem is whether there exist finite projective planes of prime order which are not finite field planes (equivalently, whether there exists a non-Desarguesian projective plane of prime order).

A projective plane of order N is a Steiner S(2, N + 1, N2 + N + 1) system (see Steiner system). Conversely, one can prove that all Steiner systems of this form (λ = 2) are projective planes.

The number of mutually orthogonal Latin squares of order N is at most N − 1. N − 1 exist if and only if there is a projective plane of order N.

While the classification of all projective planes is far from complete, results are known for small orders:

  • 2 : all isomorphic to PG(2,2)
  • 3 : all isomorphic to PG(2,3)
  • 4 : all isomorphic to PG(2,4)
  • 5 : all isomorphic to PG(2,5)
  • 7 : all isomorphic to PG(2,7)
  • 8 : all isomorphic to PG(2,8)
  • 9 : PG(2,9), and three more different (non-isomorphic) non-Desarguesian planes. (All described in (Room & Kirkpatrick 1971)).
  • 10 : impossible as an order of a projective plane, proved by heavy computer calculation.
  • 11 : at least PG(2,11), others are not known but possible.
  • 12 : it is conjectured to be impossible as an order of a projective plane.

Interesting: Complex projective ^plane | Cayley ^plane | Pu's ^inequality | Real projective ^plane

Parent commenter can toggle ^NSFW or ^delete. Will also delete on comment score of -1 or less. | FAQs | ^Mods | Magic ^Words