Double Dobble - constraints

TL;DR

Where I derive a constraint for Double Dobble.

In previous post Matt Parker on Dobble, I introduced a video by Matt Parker with interesting stuff on the game Dobble.

One interesting thing is a link to Double Dobble, where a variant is introduced with the following rule:

Each pair of cards share exactly two symbols.

The two solutions provided, for 5 and 9 symbols per card, have been derived with some code, but it got me thinking on whether they knew beforehand how many cards these attempts would yield (i.e. 11 and 37 cards, respectively, which is the same as the overall number of symbols).

I think I got how to calculate these numbers.

Let’s have N symbols and N blocks in total. This means that there are:

N(N1)2

distinct pairs in total; each pair must appear in two cards, so we consider N(N1) total pairs to distribute over N blocks, i.e. each block holds N1 pairs.

If a block contains k symbols, then it also contains:

k(k1)2

distinct pairs. As we saw, this must be equal to N1, so:

N1=k(k1)2N=k(k1)2+1

This formula tells us that:

k=5N=11k=9N=37

Yay!


Comments? Octodon, , GitHub, Reddit, or drop me a line!