|
| |
|
|
A129219
|
|
Residues of the Lucas - Lehmer primality test for M(7) = 127.
|
|
7
|
| |
|
|
|
OFFSET
|
0,1
|
|
|
COMMENTS
|
Since a(5) = 0, M(7) is prime.
|
|
|
LINKS
|
Table of n, a(n) for n=0..5.
Eric Weisstein's World of Mathematics, Lucas Lehmer Test.
Wikipedia, Lucas Lehmer Primality Test).
|
|
|
FORMULA
|
a(0) = 4 a(n) = a(n-1)^2 mod 2^p-1 Last term: a(p-2)
|
|
|
EXAMPLE
|
a(5)= 111^2 - 2 mod 127 = 0
|
|
|
CROSSREFS
|
Cf. A095847, A003010, A129220, A129221, A129222, A129223, A129224, A129225, A129226.
Sequence in context: A119857 A126787 A187742 * A007025 A221538 A014512
Adjacent sequences: A129216 A129217 A129218 * A129220 A129221 A129222
|
|
|
KEYWORD
|
fini,full,nonn
|
|
|
AUTHOR
|
Sergio Pimentel, Apr 04 2007
|
|
|
STATUS
|
approved
|
| |
|
|