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”).

A111292
Numbers n such that 6*n^2 + 6*n + 1 is prime.
0
1, 2, 3, 5, 7, 8, 9, 10, 12, 13, 18, 19, 20, 22, 23, 30, 31, 32, 33, 35, 36, 38, 41, 42, 43, 45, 46, 47, 51, 55, 58, 60, 65, 67, 73, 74, 77, 78, 84, 86, 88, 93, 95, 97, 100, 101, 104, 106, 107, 109, 112, 117, 120, 123, 124, 126, 129, 130, 132, 134, 135, 137, 143, 148, 151
OFFSET
1,2
EXAMPLE
If n=43 then 6*n^2 + 6*n + 1 = 11353 (prime).
PROG
(Magma) [n: n in [0..200] |IsPrime(6*n^2+6*n+1)]; // Vincenzo Librandi, Nov 13 2010
(PARI) is(n)=isprime(6*n^2+6*n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A039072 A055977 A180221 * A047373 A039048 A105764
KEYWORD
nonn,easy
AUTHOR
Parthasarathy Nambi, Nov 01 2005
STATUS
approved