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.

A051856 Numbers k such that (k!)^2 + k! + 1 is prime.

Original entry on oeis.org

0, 1, 2, 3, 4, 6, 76, 2837, 6001, 7076
Offset: 1

Views

Author

Andrew Walker (ajw01(AT)uow.edu.au), Dec 13 1999

Keywords

Examples

			6 is in the sequence because (6!)^2+6!+1=519121 is prime.
		

References

  • H. Dubner, Factorial and primorial primes, J. Rec. Math., 19 (No. 3) (1987)

Crossrefs

Programs

  • Mathematica
    Do[If[PrimeQ[n!^2+n!+1], Print[n]], {n, 600}] (* Farideh Firoozbakht, Jul 12 2003 *)

Extensions

Edited by R. J. Mathar, Aug 08 2008
a(8)-a(10) from Serge Batalov, Nov 24 2011