Fermat's Little Theorem states that
If $p$ is a prime and $a \in Z$ with $gcd(a,p)=1$ then $a^{p-1} \equiv 1 \mod p$
from this I take to the converse to be the statement that
if $a^{p-1} \equiv 1 \mod p$ then $p$ is prime and $gcd(a,p)=1$
Taking the result stated here as a given, I make the claim that taking $p=(6t+1)(12t+1)(18t+1)$ for $t \in N$ disproves this because we have that $a^{p-1} \equiv 1 \mod p$ and yet $p$ is clearly not prime.
Is this a sufficient proof? I was informed that this answer was not sufficient in an assignment and I can't understand why?