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.

A258944 Odd primes p that divide 2! + 3! + ... + (p-1)!.

Original entry on oeis.org

31, 373, 6855730873
Offset: 1

Views

Author

Jeppe Stig Nielsen, Nov 07 2015

Keywords

Comments

In other words, the odd primes p that divide A003422(p) - 2. Or the primes p with A049782(p) = 2.
Andrejic and Tatarevic found a(3).

Crossrefs

Programs

  • PARI
    forprime(p=3, 1e11, if(sum(k=2, p-1, k!) % p==0, print1(p, ", "))); \\ Altug Alkan, Nov 08 2015