|
|
A230506
|
|
Numbers n with 2*n + 1 and 2*n^3 + 1 both prime.
|
|
2
|
|
|
1, 2, 5, 6, 9, 11, 20, 21, 26, 29, 30, 35, 44, 86, 95, 96, 99, 111, 120, 134, 140, 165, 186, 191, 204, 221, 231, 249, 260, 299, 321, 330, 354, 375, 380, 384, 386, 431, 440, 455, 485, 491, 506, 515, 545, 551, 554, 596, 600, 629
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
This sequence is interesting because of the conjecture in the comments in A230507.
|
|
LINKS
|
|
|
EXAMPLE
|
a(1) = 1 since 2*1 + 1 = 2*1^3 + 1 = 3 is a prime.
a(2) = 2 since 2*2 + 1 = 5 and 2*2^3 + 1 = 17 are both prime.
|
|
MATHEMATICA
|
q[n_]:=PrimeQ[2n+1]&&PrimeQ[2n^3+1]
m=0
Do[If[q[n], m=m+1; Print[m, " ", n]], {n, 1, 629}]
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|