[tex]\it C_n^2 =21 \Rightarrow \dfrac{n!}{2!(n-2)!} =21 \Rightarrow \dfrac{(n-2)!\cdot(n-1)\cdot n}{1\cdot2(n-2)!} =21 \Rightarrow
\\\;\\
\Rightarrow \dfrac{(n-1)\cdot n}{2} =21 \Rightarrow (n-1)\cdot n=2\cdot21 \Rightarrow (n-1)\cdot n=42 \ \ \ \ (1)
\\\;\\
Dar,\ 42 = 6\cdot7 \ \ \ \ (2)
\\\;\\
(1),\ \ (2) \Rightarrow n = 7
[/tex]