login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129220 Residues of the Lucas - Lehmer primality test for M(11) = 2047. 8
4, 14, 194, 788, 701, 119, 1877, 240, 282, 1736 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

Since a(9) > 0, M(11) is composite. In fact, 2047 = 23 * 89

LINKS

Table of n, a(n) for n=0..9.

Eric Weisstein's World of Mathematics, Lucas Lehmer Test.

Wikipedia, Lucas Lehmer Primality Test.

FORMULA

a(0) = 4; a(n) = a(n-1)^2-2 mod 2^p-1. Last term: a(p-2).

EXAMPLE

a(9) = a(8)^2 - 2 mod 2047 = 282^2 - 2 mod 2047 = 1736.

CROSSREFS

Cf. A095847, A003010, A129218, A129219, A129221, A129222, A129223, A129224, A129225, A129226, A001348.

Sequence in context: A098851 A080986 A132555 * A129221 A129222 A129223

Adjacent sequences:  A129217 A129218 A129219 * A129221 A129222 A129223

KEYWORD

fini,full,nonn

AUTHOR

Sergio Pimentel, Apr 05 2007

EXTENSIONS

Offset corrected by Nathaniel Johnston, May 31 2011

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 10 19:06 EDT 2021. Contains 342853 sequences. (Running on oeis4.)