Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Generate a set of integers that can create Dobble cards
ResourceFunction["DobbleSets"][n] generates n2-n+1 sets, each with n numbers, where each pair of sets only has a single number in common. |
Create a small Dobble set:
In[1]:= | ![]() |
Out[1]= | ![]() |
Verify that each pair of sets has a single number as overlap:
In[2]:= | ![]() |
Out[2]= | ![]() |
Large sets can be created for primes + 1:
In[3]:= | ![]() |
Out[3]= | ![]() |
Verify that each pair has a single number as overlap:
In[4]:= | ![]() |
Out[4]= | ![]() |
Not all sizes are possible or are unknown:
In[5]:= | ![]() |
Out[5]= | ![]() |
Generate a set of Dobble-inspired cards where each two cards have only one symbol in common:
In[6]:= | ![]() |
Out[6]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License