OFFSET
1,1
COMMENTS
Primes in A154254.
Primes generated by n = 1, 3, 9, 15, 17, 21, 33, 47, 51, 53, 59,...
(All but the first of these are either 3 (mod 6) or 5 (mod 6), as in A047270, because otherwise 9n^2-8n+2 is a multiple of 2 or 3. R. J. Mathar, Jul 17 2012).
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Table[9n^2-8n+2, {n, 0, 1500}], PrimeQ] (* Vincenzo Librandi, Jul 16 2012 *)
PROG
(Magma) [a: n in [0..250] | IsPrime(a) where a is 9*n^2-8*n+2]; // Vincenzo Librandi, Jul 16 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 05 2009
STATUS
approved