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.

A177502 Prime numbers p such that (p-2)! + 1 is prime.

Original entry on oeis.org

2, 3, 5, 13, 29, 43, 79, 401, 26953, 150211, 288467, 422431
Offset: 1

Views

Author

Artur Jasinski, May 10 2010

Keywords

Examples

			a(1)=2 because (2-2)! + 1 = 0! + 1 = 1 + 1 = 2.
		

Crossrefs

Programs

  • Mathematica
    aa = {}; Do[p = Prime[n]; If[PrimeQ[(p - 2)! + 1], AppendTo[aa, p]], {n, 1, 10000}]; aa

Extensions

New term added by Artur Jasinski, May 19 2010
a(10)-a(12) from Amiram Eldar, Oct 24 2024