A129222 Residues of the Lucas - Lehmer primality test for M(17) = 131071.
4, 14, 194, 37634, 95799, 119121, 66179, 53645, 122218, 126220, 70490, 69559, 99585, 78221, 130559, 0
Offset: 0
Examples
a(15) = 130559^2 - 2 mod 131071 = 0.
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 mod 2^p-1. Last term: a(p-2).
Comments