This site is supported by donations to The OEIS Foundation.

 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 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 | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.