A129220 Residues of the Lucas - Lehmer primality test for M(11) = 2047.
4, 14, 194, 788, 701, 119, 1877, 240, 282, 1736
Offset: 0
Examples
a(9) = a(8)^2 - 2 mod 2047 = 282^2 - 2 mod 2047 = 1736.
Links
- Eric Weisstein's World of Mathematics, Lucas Lehmer Test.
- Wikipedia, Lucas Lehmer Primality Test.
Crossrefs
Formula
a(0) = 4; a(n) = a(n-1)^2-2 mod 2^p-1. Last term: a(p-2).
Extensions
Offset corrected by Nathaniel Johnston, May 31 2011
Comments