login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A176547
Numbers n such that 2*n^2 + 6*n + 1 is prime.
1
3, 6, 15, 18, 21, 24, 27, 33, 57, 60, 63, 66, 75, 78, 87, 90, 96, 108, 111, 117, 129, 138, 141, 144, 147, 153, 159, 165, 168, 171, 180, 186, 189, 201, 204, 222, 228, 231, 234, 237, 243, 246, 249, 252, 255, 258, 264, 273, 294, 309, 312, 315, 321, 339, 348, 351
OFFSET
1,1
COMMENTS
Conjecture: If p=2*n^2+6*n+1 is prime then 2^p-1 is not prime.
Tested for all p < 24036583 = A000043(41). - Joerg Arndt, Oct 06 2012
LINKS
EXAMPLE
For n=3, p=37 and 2^37-1 = 223 * 616318177.
MATHEMATICA
Select[Range[500], PrimeQ[2 #^2 + 6 # + 1] &] (* Vincenzo Librandi, Oct 08 2012 *)
PROG
(Magma) [n: n in [1..1000]| IsPrime(2*n^2 + 6*n + 1)];
(PARI) is(n)=isprime(2*n^2+6*n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A310124 A059969 A224864 * A310125 A124518 A160724
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Apr 20 2010
STATUS
approved