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.

Showing 1-1 of 1 results.

A273940 Primes of the form 5^m - m.

Original entry on oeis.org

23, 15619, 244140613
Offset: 1

Views

Author

Vincenzo Librandi, Jun 05 2016

Keywords

Comments

Corresponding values of m are given in A058046.
The next term has 254 digits.

Crossrefs

Primes of the form k^m - m: A081296 (k=2), A224420 (k=3), A224451 (k=4), this sequence (k=5), A273941 (k=6), A224468 (k=7), A224469 (k=8).

Programs

  • Magma
    [a: n in [0..400] | IsPrime(a) where a is 5^n-n];
    
  • Mathematica
    Select[Table[5^n - n, {n, 400}], PrimeQ]
  • PARI
    forstep(n=2,1e4,2, if(ispseudoprime(t=5^n-n), print1(t", "))) \\ Charles R Greathouse IV, Jun 08 2016

Formula

a(n) = A024050(A058046(n)). - Amiram Eldar, Jul 27 2025
Showing 1-1 of 1 results.