The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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
Sequence in context: A024516 A286341 A284657 * A236072 A055938 A190764
KEYWORD
nonn
AUTHOR
Zhi-Wei Sun, Oct 21 2013
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 19 19:45 EDT 2024. Contains 372703 sequences. (Running on oeis4.)