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

A142168
Primes congruent to 16 mod 39.
1
211, 367, 523, 601, 757, 991, 1069, 1303, 1381, 1459, 1693, 2083, 2161, 2239, 2473, 2551, 2707, 3019, 3253, 3331, 3643, 3877, 4111, 4423, 4657, 4813, 4969, 5281, 5437, 5749, 5827, 6217, 6373, 6451, 6529, 6607, 6763, 6841, 6997, 7309, 7621, 7699, 7933, 8011
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[1100]], Mod[#, 39]==16&] (* Harvey P. Dale, Apr 11 2012 *)
Select[Prime[Range[3000]], MemberQ[{16}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 20 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(9000) | p mod 39 eq 16 ]; // Vincenzo Librandi, Aug 20 2012
(PARI) is(n)=isprime(n) && n%39==16 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A293605 A132248 A142901 * A142288 A147156 A140535
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved