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.

A139062 Primes of the form (6+k!)/6.

Original entry on oeis.org

2, 5, 604801, 6652801, 1037836801, 14529715201, 59281238016001, 8515157028618240001
Offset: 1

Views

Author

Artur Jasinski, Apr 07 2008

Keywords

Comments

For numbers k for which (6+k!)/6 is prime see A139063.

Crossrefs

Programs

  • Mathematica
    a = {}; Do[If[PrimeQ[(n! + 6)/6], AppendTo[a, (n! + 6)/6]], {n, 1, 50}]; a
  • PARI
    for(k=3,1e3,if(ispseudoprime(t=k!/6+1),print1(t", "))) \\ Charles R Greathouse IV, Jul 15 2011

Formula

a(n) = A139153(A139063(n)). - Amiram Eldar, Oct 14 2024