Here is the question: Let $m=2^{15}−1=32767$. Show that
(a) The order of $2$ modulo $m$ is $15$.
(b) $15$ does not divide $m − 1$. Why does this imply that $m$ is not prime?
I have shown that the order of $2$ modulo $m$ is $15$, and that $15$ does not divide $m-1$. However, I am struggling with showing why this implies that $m$ is not prime. Can anybody provide any hints? I have tried to use Euler's Theorem to no avail.