login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Today, Nov 11 2014, is the 4th anniversary of the launch of the new OEIS web site. 70,000 sequences have been added in these four years, all edited by volunteers. Please make a donation (tax deductible in the US) to help keep the OEIS running.

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A082182 Numbers n such that (5^n-2^n)/3 is prime. 20
2, 5, 7, 13, 19, 37, 59, 67, 79, 307, 331, 599, 1301, 12263, 12589, 18443, 20149, 27983 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

No other terms less than 100000. - Robert Price, Apr 06 2012

LINKS

Table of n, a(n) for n=1..18.

User group for the PrimeForm program.

EXAMPLE

Example: a(1)=2 because (5^2-2^2)/3=(25-4)/3=7 is a prime.

MATHEMATICA

a={}; Do[p=(5^n-2^n)/3; If[PrimeQ[p], AppendTo[a, n]], {n, 20^2}]; Print[a]; - Vladimir Joseph Stephan Orlovsky, Apr 29 2008

PROG

(PARI) forprime(p=2, 1e4, if(ispseudoprime((5^p-2^p)/3), print1(p", "))) \\ Charles R Greathouse IV, Jul 16, 2011

CROSSREFS

Sequence in context: A094743 A175075 A056985 * A032719 A045355 A165319

Adjacent sequences:  A082179 A082180 A082181 * A082183 A082184 A082185

KEYWORD

more,nonn

AUTHOR

Hugo Pfoertner, May 22 2003, Jun 23 2003

EXTENSIONS

20149 from Herman Jamke (hermanjamke(AT)fastmail.fm), May 03 2007

27983 from David Radcliffe, May 28 2007

STATUS

approved

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

Content is available under The OEIS End-User License Agreement .

Last modified November 27 16:30 EST 2014. Contains 250240 sequences.