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”).

A181285
Primes of the form 5^k - 4.
1
3121, 78121, 30517578121, 710542735760100185871124267578121, 413590306276513837435704346034981426782906055450439453121
OFFSET
1,1
EXAMPLE
3121 = 5^5 - 4 is prime and therefore is in the sequence.
MAPLE
n:=1000: S:={}: for i from 1 to n do if type(5^i-4, prime)=true then S:=S union {5^i-4} end if od; S;
MATHEMATICA
Select[5^Range[90]-4, PrimeQ] (* Harvey P. Dale, Aug 23 2013 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved