login
A273940
Primes of the form 5^m - m.
3
23, 15619, 244140613
OFFSET
1,1
COMMENTS
Corresponding values of m are given in A058046.
The next term has 254 digits.
LINKS
FORMULA
a(n) = A024050(A058046(n)). - Amiram Eldar, Jul 27 2025
MATHEMATICA
Select[Table[5^n - n, {n, 400}], PrimeQ]
PROG
(Magma) [a: n in [0..400] | IsPrime(a) where a is 5^n-n];
(PARI) forstep(n=2, 1e4, 2, if(ispseudoprime(t=5^n-n), print1(t", "))) \\ Charles R Greathouse IV, Jun 08 2016
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).
Sequence in context: A013728 A028693 A324255 * A348307 A033998 A157167
KEYWORD
nonn,hard
AUTHOR
Vincenzo Librandi, Jun 05 2016
STATUS
approved