Geometric distribution

A geometric random variable $X\sim G(p)$ of parameter $p\in(0,1)$ has a distribution on $\N_0=\set{0,1,2,\ldots}$ given by $$ p_k = p(1-p)^k, \quad k=0,1,2,\ldots. $$

Alternatively some define it as the probability measure on $\N=\set{1,2,\dots}$ given by $$ p_k = p(1-p)^{k-1}, \quad k=1,2,\ldots. $$

Be clear with the definition. This is to model the number of tosses of a biased coin up to (or including) the first head.

Using the first definition,