Is there $p$ such that $a^p\,$mod$\,r=0$ and $r$ is a prime number and $1\le a<r$.
I am believing that $a^p\,$mod$\,r=0$ will be not equal to $0$ any value of $p$ for all values of $a$ from $1$ to $r-1$.
Is it correct? please provide any counter example if not.