OFFSET
1,1
COMMENTS
Two together with A027864(n).
Generated by n = 0, 1, 3, 7, 13, 15, 25, 35, 53, 57, ...
EXAMPLE
2 is in this sequence because 3*0^2 + 2 = 2 and 2 is prime.
MATHEMATICA
Select[Table[3 n^2 + 2, {n, 0, 400}], PrimeQ] (* Vincenzo Librandi, Apr 17 2015 *)
PROG
(Magma) [a: n in [0..400] | IsPrime(a) where a is (3*n^2+2)];
(PARI) select(isprime, vector(100, n, 3*n^2-6*n+5)) \\ Charles R Greathouse IV, Apr 17 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Juri-Stepan Gerasimov, Apr 16 2015
STATUS
approved