|
Search: id:A109387
|
|
|
| A109387 |
|
Numbers n such that 3^n - n^3 is prime. |
|
+0 9
|
|
| 1, 4, 10, 52, 112, 212, 346, 406, 512, 13904, 76610, 89746
(list; graph; listen)
|
|
|
OFFSET
|
1,2
|
|
|
COMMENT
|
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
|
Adjacent sequences: A109384 A109385 A109386 this_sequence A109388 A109389 A109390
Sequence in context: A099606 A081565 A032495 this_sequence A018844 A007027 A096423
|
|
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
|
|
|
Search completed in 0.002 seconds
|