cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A129219 Residues of the Lucas - Lehmer primality test for M(7) = 127.

Original entry on oeis.org

4, 14, 67, 42, 111, 0
Offset: 0

Views

Author

Sergio Pimentel, Apr 04 2007

Keywords

Comments

Since a(5) = 0, M(7) is prime.

Examples

			a(5)= 111^2 - 2 mod 127 = 0
		

Crossrefs

Formula

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