mathlesstraveled.com
MaBloWriMo 5: The Lucas-Lehmer Test
We now know that $latex M_n = 2^n – 1$ can only be prime when $latex n$ is prime; but even when $latex n$ is prime, sometimes $latex M_n$ is prime and sometimes it isn’t. The Lucas-Lehmer tes…