I am not sure why you need to use $x=1/(1+p)$. Using the definition of limit, $x^n\to 0$ for $n\to\infty$ iff $\forall \varepsilon>0, \exists N$ such that $n>N\Rightarrow |x^n - 0|<\epsilon$. Just use the definition:
$$
|x|^n<\varepsilon\quad\Rightarrow\quad \frac{1}{|x|^n}>\frac{1}{\varepsilon}
$$
Notice that $1/|x| >1$. Therefore, applying the increasing function $log_{\frac{1}{|x|}}$ to both sides, we get
$$
n>log_{\frac{1}{|x|}}\varepsilon^{-1} = \dfrac{\ln\varepsilon^{-1}}{\ln|x|^{-1}} = \dfrac{\ln\varepsilon}{\ln|x|}.
$$
Hence, if you set $N=ceil(-\ln(\varepsilon)/ln(|x|))$, you have $|x|^n<\varepsilon$, where $ceil(x)$ is the smallest integer greater than $x$.