Yesterday was a guest, where Dobble was shown to my kid . It has a set of cards with carved pictograms, the main thing is that on any two cards there is always one and only one common pictogram.
From a mathematical point of view, this means - there are many of N elements; you need to build as many subsets as possible of M < N elements with the property that every two subsets have one and only one common element.
How to solve this problem? What algorithm will generate these subsets? Let at least for some non-trivial options - for 3 and 2 , as you understand, the solution is trivial :), like a solution with a single common element for all.
I would be grateful for a ready-made solution, and for any ideas.
Nand2, as you understand, the decision is trivial. For N> 3, I don’t see a solution that uses more than 3 elements from N. So here it’s far to triviality ... - Akina