Skip to content

Instantly share code, notes, and snippets.

View mstahl's full-sized avatar
🤪

max thom stahl mstahl

🤪
View GitHub Profile
@mstahl
mstahl / LucasLehmer.hs
Last active December 16, 2015 20:58 — forked from anonymous/README.md
{-
- LucasLehmer
-
- An implementation of the Lucas-Lehmer primality test for prime numbers of
- the form p = 2^k - 1 (Mersenne primes).
-
- (c) 2013 Max Thom Stahl. Released under the MIT public license.
-}
module LucasLehmer where