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.

A139059 Primes of the form (5+k!)/5.

Original entry on oeis.org

1009, 72577, 7983361, 17435658241, 24329020081766401, 5170403347776995328001, 23924444173096038912392632299131543012876746752000000001
Offset: 1

Views

Author

Artur Jasinski, Apr 07 2008

Keywords

Comments

For numbers k for which (5+k!)/5 is prime see A139058.

Crossrefs

Programs

  • Magma
    [ a: n in [1..50] | IsPrime(a) and b mod 5 eq 0 where a is b div 5 where b is Factorial(n)+5 ];
    
  • Mathematica
    a = {}; Do[If[PrimeQ[(n! + 5)/5], AppendTo[a, (n! + 5)/5]], {n, 1, 50}]; a
    Select[(5+Range[50]!)/5,PrimeQ] (* Harvey P. Dale, Dec 04 2020 *)
  • PARI
    for(k=5,1e3,if(ispseudoprime(t=(5+k!)/5),print1(t", "))) \\ Charles R Greathouse IV, Jul 15 2011

Formula

a(n) = A139152(A139058(n)). - Amiram Eldar, Oct 14 2024