Yet another expression of Bernoulli distribution
The probability mass function of Bernoulli distribution is
\(\begin{align} f(k) = p^k (1-p)^{1-k}. \end{align}\)
If we take the proportion of it,
\(\begin{align} f(k) \propto \frac{f(k)}{f(0)} = \frac{p^k (1-p)^{1-k}}{(1-p)} = \left( \frac{p}{1-p} \right)^k. \end{align}\)
Note that \(f(0)\) works here as a constant.