Let's first calculate the chance that every value is unique.
The chance of two values picked being unique is $H - 1 \over H$ because when picking the second value you only have $H - 1$ unique picks left, with one pick being non-unique. Picking a third number has a chance of $H - 2 \over H$ to be unique, so the total chance of picking 3 unique numbers is ${H - 1 \over H} \times {H - 2 \over H}$. This can be continued so that the chance of picking $n$ unique values is:
$${H - 1 \over H} \times {H - 2 \over H} \times \cdots \times {H - (n - 2) \over H} \times {H - (n - 1) \over H}$$
This is exactly the same as the limit for the birthday paradox.
Then a bit more math is required. An approximation is used. For $x \leq 1$ the taylor series of $e$ gives an approximation:
$$e^x \approx 1 + x$$
Then note the following:
$${H - 1 \over H} = 1 - {1 \over H} \approx e^{-{1 \over H}}$$
Then we rewrite the calculate as such:
$$e^{-{1 \over H}} \times e^{-{2 \over H}} \times \cdots \times e^{-{n - 2 \over H}}\times e^{-{n - 1 \over H}} =$$
$$e^{-{1 + 2 + \cdots + n-2 + n-1 \over H}} =$$
$$e^{-{n(n-1)/2 \over H}} = e^{-{n(n-1) \over 2H}} $$
That is the probability that every value picked is unique. If not every value is unique there must be a collision, therefore the chance of a collision is:
$$p(n:H) \approx 1−e^{-{n(n-1) \over 2H}}$$
This is also the value the linked wikipedia article means, but it's a bit ambiguous with $/$ and $\cdot$ priority rules.