# 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

Contributed by:
Sander Huisman

ResourceFunction["DobbleSets"][ generates |

Dobble is also known as Spot It! in some parts of the world.

ResourceFunction["DobbleSets"][*n*] creates *n*^{2}-*n*+1 sets each with *n* numbers containing the number 1 through *n*^{2}-*n*+1.

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 2 cards have only 1 symbol in common:

In[6]:= |

Out[6]= |

This work is licensed under a Creative Commons Attribution 4.0 International License