login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A273940
Primes of the form 5^n - n.
2
23, 15619, 244140613
OFFSET
1,1
COMMENTS
Corresponding n are given in A058046.
The next term has 254 digits.
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
Cf. primes of the form k^n - n: A081296 (k=2), A224420 (k=3), A224451 (k=4), this sequence (k=5), A273941 (k=6), A224468 (k=7), A224469 (k=8).
Cf. A058046.
Sequence in context: A013728 A028693 A324255 * A348307 A033998 A157167
KEYWORD
nonn,bref
AUTHOR
Vincenzo Librandi, Jun 05 2016
STATUS
approved