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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A058037 Numbers n such that 3^n - n is prime. 0
1, 2, 8, 20, 40, 104, 110, 208, 472, 832, 1982, 25628 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Except for the first term all terms are of the form 6k+2 or 6k+4. There are no further terms up to 34500. - Farideh Firoozbakht (mymontain(AT)yahoo.com), Jul 17 2005

MATHEMATICA

Do[ If[ PrimeQ[ 3^n - n ], Print[ n ] ], {n, 0, 3000} ]

CROSSREFS

Sequence in context: A032633 A007290 A049031 * A203420 A048096 A072250

Adjacent sequences:  A058034 A058035 A058036 * A058038 A058039 A058040

KEYWORD

nonn

AUTHOR

Robert G. Wilson v (rgwv(AT)rgwv.com), Nov 16 2000

EXTENSIONS

25628 from Farideh Firoozbakht (mymontain(AT)yahoo.com), Jul 17 2005

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

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

Last modified February 14 04:48 EST 2012. Contains 205570 sequences.