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!)
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 (list; graph; refs; listen; history; text; internal format)
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

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 April 25 08:27 EDT 2024. Contains 371964 sequences. (Running on oeis4.)