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

A303740
Primes of the form 9*k^2 + 3*k + 1 (A082040).
2
13, 43, 157, 241, 463, 601, 757, 1123, 2971, 3307, 4423, 4831, 5701, 6163, 8191, 9901, 11131, 12433, 13807, 19183, 20023, 21757, 22651, 23563, 26407, 28393, 35911, 37057, 53593, 60763, 78121, 83233, 95791, 113233, 117307, 121453, 123553, 127807, 136531
OFFSET
1,1
LINKS
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
Cf. A303739. Subsequence of A082040.
Sequence in context: A225774 A268256 A243894 * A243029 A243030 A243031
KEYWORD
nonn,easy
AUTHOR
Muniru A Asiru, Jun 01 2018
STATUS
approved