OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
MAPLE
select(isprime, [seq(9*n^2+3*n+1, n=0..500)]);
MATHEMATICA
Select[Table[9 n^2 + 3 n + 1, {n, 0, 150}], PrimeQ] (* Vincenzo Librandi, Jun 25 2018 *)
PROG
(GAP) Filtered(List([0..300], n->9*n^2+3*n+1), IsPrime);
(Magma) [a: n in [0..200] | IsPrime(a) where a is 9*n^2 +3*n+1 ]; // Vincenzo Librandi, Jun 25 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Muniru A Asiru, Jun 01 2018
STATUS
approved