Let $X$ be $rv$ with the probability distribution, $$p(k) = (1 - x)x^k; k = 0, 1, 2,...$$ where $x \in (0, 1)$ is a constant.
Is this computing the number of failures with $Pr[\text{Success}] = 1-x$?
Let $X$ be $rv$ with the probability distribution, $$p(k) = (1 - x)x^k; k = 0, 1, 2,...$$ where $x \in (0, 1)$ is a constant.
Is this computing the number of failures with $Pr[\text{Success}] = 1-x$?
Yes, in general, geometric distribution takes the form of $$p(k) = (1-p)^k p, k=0,1,2\ldots, $$
Here $p=1-x$.
Note that failure or success depends on the definition of the user.