I am asked to determine whether the number $11111$ is prime. Upon using the divisibility tests for the numbers 1 to 11, I couldn't find anything that divides it, so I assumed that it is prime. However, it apparently isn't prime. So what is the procedure to determine whether $11111$ is prime?
Thank you for any help.
Best I can do:
Let $p$ be a prime dividing $11111$. Then I claim that $p\equiv 1 \pmod 5$
Pf: Indeed, $11111=\frac 19\times (10^5-1)$ so $p\,|\,11111\implies p\,|\,10^5-1$ which implies that $10$ has order $5\pmod p$. Thus $5\,|\,p-1$ and we are done.
Thus you should just check $11,31,41\cdots$ and stop since $41$ already works.