I was reading the second answer given in 2 is a primitive root mod $3^h$ for any positive integer $h$
However, I don't see the connection between this lemma and $2$ being a primitive root. Why are they equivalent? How can I prove? Any help is appreciated
If $x$ is a primitive root $\!\bmod p^n$ and there's some $k$ such that $x^k\equiv1+p^n\pmod{p^{n+1}}$ then $x$ is a primitive root $\bmod p^{n+1}$.