Solve $$\sum_{{i,j=0}\:\:i\ne j}^n \binom{n}{i}\:\:\binom{n}{j}$$ This was a contest math problem which I was not able to solve.
My work: I was very unsure about how to approach this question. In my opinion, there will be many combinations and I tried listing them but wasn't able to find a general pattetn.
The options given were:
$2^{2n}-\binom{2n}{n}$
$2^{2n-1}-\binom{2n-1}{n-1}$
$2^{2n}-\frac12\binom{2n}{n}$
$2^{n-1}-\binom{2n-1}{n}$
The answer given by me was $2^{2n}-\binom{2n}{n}$ Any help will be appreciated.