I was looking at the Birthday Problem (the probability that at least 2 people in a group of n people will share a birthday) and I came up with a different solution and was wondering if it was valid as well. Could the probability be calculated with this formula: $$1-(364/365)^{n(n+1)/2}$$
The numbers don't seem to perfectly match up with the normal proof, but I don't see the flaw in my logic, so if someone could clear it up, that would be much appreciated.
To find the formula, I found the probability that one person didn't share a birthday first, which is: $(364/365)^{n-1}$ for the first person, $(364/365)^{n-2}$ for the next, and so on. The probability that none of them do would be the product, and considering exponent laws, would be $(364/365)^{n(n+1)/2}$. We subtract that from $1$ to find the converse of our statement.