login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A129219 Residues of the Lucas - Lehmer primality test for M(7) = 127. 7
4, 14, 67, 42, 111, 0 (list; graph; refs; listen; history; text; internal format)
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: A241465 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

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

Content is available under The OEIS End-User License Agreement .

Last modified December 19 10:13 EST 2014. Contains 252186 sequences.