Suppose we have the set $X = \{1,...,100\}$, and we want a family $\mathscr{A} \subset \mathcal{P}(X)$ where the following hold:
1.) For all $A \in \mathscr{A}$, $|A| = 50$.
2.) For all $A, B \in \mathscr{A}$, $|A \cap B| \leq 40$.
The question is, how to we generate a family of maximum cardinality, and what is the maximum cardinality?
A simple lower bound, and example of a family, can be created as follows: pick a partition of $\{1,..,100 \}$ where each set in the partition has a cardinality 10. Now form all possible unions of five sets from the partition. This gives a family with ${10}\choose{5}$ $= 252$ different sets of cardinality 50, and the intersection of any two distinct sets has a cardinality of $0, 10, 20, 30$, or $40$.
Thanks all.
Each set of 50 numbers is surrounded by a cloud of similar sets, with up to 4 changes. These clouds won't intersect because chosen sets differ by at least 10 changes. The size of each cloud is $1+{50\choose1}^2+{50\choose2}^2+{50\choose3}^3+{50\choose4}^2=53$billion, so at most ${100\choose50}/53$billion, or fewer than 1.9 quintillion sets may be chosen.