login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A139781 Primes of form (5^n - 2^n)/3. 0
7, 1031, 25999, 406898311, 6357828601279, 24253192047278040531416551, 57824115865893569813730623892812790134879, 22587545260114675708488599968932468124811638399, 5514537417020184499142724613799550869468811634476741679 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 20:33 EDT 2024. Contains 371916 sequences. (Running on oeis4.)