Let $S$ be a set of elements, e.g. $S=\{ 1, 2, 3, 4, 5, 6 \}$ and $M \subset S$ where $|M| = n$. How many subsets $M$ of size $n$ are at least necessary such that each $s \in S$ is at least once in a subset $M$ with each other element of $S$? For example, let $n = 4$, we need $3$ subsets $$ \{1,2,3,4\}, \{3,4,5,6\}, \{1,2,5,6\} $$ because $1$ is in a subset with each other element, $2$ as well, and so on.
Another example: Let $S = \{A, B, C, D, E, F\}$
| A | B | C | D | E | F |
|---|---|---|---|---|---|
| x | x | x | |||
| x | x | x | |||
| x | x | x | |||
| x | x | x | |||
| x | x | x | |||
| x | x | x |
In this case, my best solutions requires $6$ subsets.