login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129222 Residues of the Lucas - Lehmer primality test for M(17) = 131071. 8
4, 14, 194, 37634, 95799, 119121, 66179, 53645, 122218, 126220, 70490, 69559, 99585, 78221, 130559, 0 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
Since a(15) = 0, M(17) = 131071 is prime.
LINKS
Eric Weisstein's World of Mathematics, Lucas Lehmer Test.
FORMULA
a(0) = 4, a(n) = a(n-1)^2 mod 2^p-1. Last term: a(p-2).
EXAMPLE
a(15) = 130559^2 - 2 mod 131071 = 0.
CROSSREFS
Sequence in context: A132555 A129220 A129221 * A129223 A129224 A129225
KEYWORD
fini,full,nonn
AUTHOR
Sergio Pimentel, Apr 04 2007
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 09:22 EDT 2024. Contains 371905 sequences. (Running on oeis4.)