For $$a\in \mathbb{Z}$$ and "$p"$ a positive prime:
And : Gcd(a:p)=1
Prove that :
$$\left( \forall k\in \mathbb{N} \right):a^{\left( p-1\right){p^{k}}}\equiv 1\mod p^{k+1}$$
For $$a\in \mathbb{Z}$$ and "$p"$ a positive prime:
And : Gcd(a:p)=1
Prove that :
$$\left( \forall k\in \mathbb{N} \right):a^{\left( p-1\right){p^{k}}}\equiv 1\mod p^{k+1}$$
If $\phi$ is Euler's totient function, we have $a^{\phi(n)}\equiv 1 \mod n$ by Euler's totient theorem.
If $n = p^{k+1}$ we have $\phi(p^{k+1}) = p^{k+1} - p^k = (p - 1)p^k$.
Using this we find that $a^{(p-1)p^k} \equiv 1 \mod p^{k+1}$, which is the identity I believe you actually meant, as mentioned in the comments.