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

A139781
Primes of form (5^n - 2^n)/3.
0
7, 1031, 25999, 406898311, 6357828601279, 24253192047278040531416551, 57824115865893569813730623892812790134879, 22587545260114675708488599968932468124811638399, 5514537417020184499142724613799550869468811634476741679
OFFSET
1,1
EXAMPLE
(5^2-2^2)/3=7, (5^5-2^5)/3=1031, (5^7-2^7)/3=25999, ...
MATHEMATICA
a={}; Do[p=(5^n-2^n)/3; If[PrimeQ[p], AppendTo[a, p]], {n, 20^2}]; Print[a];
Select[Table[(5^n-2^n)/3, {n, 0, 500}], PrimeQ] (* Harvey P. Dale, Aug 12 2012 *)
CROSSREFS
Sequence in context: A013544 A250914 A004807 * A101072 A203583 A259251
KEYWORD
nonn
AUTHOR
EXTENSIONS
More terms from Harvey P. Dale, Aug 12 2012
STATUS
approved