Before reading the Wikipedia article, my idea to calculate the probability was as follows:
$1-\left(\frac{364}{365}\right)^{_nC_{2}}$
Basically, I thought to compare all combinations of pairs ($_nC_{2}$) and require them to have different birthday ($\frac{364}{365}$). It gave a very similar result to the wiki method, but is slightly different and I can't tell how my way of thinking is wrong.
Can anyone tell me what I'm missing?