Also, what about in general, for some value p, which has the value 2 in the given formula?
MOTIVATION:
I was wondering the probability of never getting tails if one forever flipped a coin whose probability of landing tails decreased (in this case, geometrically) each flip.
The probability of tails on flip i is $\frac{1}{2^i}$, and the probability of heads on flip i is $1-\frac{1}{2^i}$. So, first flip the coin is 50-50, next it is 75-25, etc. And the probability of never landing tails is equal to the probability of always landing heads, which is the infinite product of the heads probabilities, yielding $\prod_{i=1}^\infty \left(1-\frac{1}{2^i}\right)$. => ($\frac{1}{2} * \frac{3}{4} * \frac{7}{8} ...$)
You can use the $q$-Pochhammer symbol to represent the infinite product as
Note: