Let $X$ be an $n$-element set, and let $S_1, ..., S_n$ be subsets of $X$ such that $\mid S_i \cap S_j \mid \leq 1$ whenever $1 \leq i < j \leq n$. Prove that at least one of the sets $S_i$ has size at most $\sqrt{n}+1$
I was thinking of taking an approach by contradiction by assuming for every $S_i$ we have $\mid S_i \mid \geq \sqrt{n}+1$.
I know $\mid S_i \cap S_j \mid = \mid S_i \mid + \mid S_j \mid - \mid S_i \cup S_j \mid$. But I have no further idea about how to go about proving the claim.
Let $X:=\{1,2,\dots,n\}$ and let's assume that the element $i\in X$ is in $d_i$ subsets of the list $S_1,\dots,S_n$. Then, by the assumption $\mid S_i \cap S_j \mid \leq 1$ whenever $1 \leq i < j \leq n$, it follows that $$\frac{1}{n}\binom{n}{2}\geq \frac{1}{n}\sum_{i=1}^n \binom{d_i}{2}\geq \binom{\frac{N}{n}}{2}.$$ where $$N=\sum_{i=1}^nd_i=\sum_{i=1}^n |S_i|.$$ Assume by contradiction that $|S_i|> \sqrt{n}+1$ for all $i$. Then $N>n(\sqrt{n}+1)$ and, by the above inequality, we have $$\frac{n-1}{2}=\frac{1}{n}\binom{n}{2}\geq \binom{\frac{N}{n}}{2}> \frac{1}{2}\left(\frac{N}{n}-1\right)^2>\frac{n}{2}$$ which is a contradiction.