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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A109387 Numbers n such that 3^n - n^3 is prime. 9
1, 4, 10, 52, 112, 212, 346, 406, 512, 13904, 76610, 89746 (list; graph; refs; listen; history; internal format)
OFFSET

1,2

COMMENTS

Terms <= 512 correspond to certified primes. Next term after 13904 is greater than 20000.

EXAMPLE

a(2)=4 because 3^4 -4^3 = 17 is prime

3^10 - 10^3 = 58049 is prime, hence 10 is a term.

MATHEMATICA

Do[If[PrimeQ[3^n - n^3], Print[n]], {n, 1, 20000}]

CROSSREFS

Sequence in context: A081565 A151611 A032495 * A018844 A007027 A192444

Adjacent sequences:  A109384 A109385 A109386 * A109388 A109389 A109390

KEYWORD

hard,more,nonn

AUTHOR

Ryan Propper (rpropper(AT)stanford.edu), Jun 26 2005

EXTENSIONS

Two more terms from Donovan Johnson (donovan.johnson(AT)yahoo.com), Feb 26 2008

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 16 09:27 EST 2012. Contains 205904 sequences.