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

A142171
Primes congruent to 20 mod 39.
1
59, 137, 293, 449, 683, 761, 839, 1151, 1229, 1307, 1619, 1697, 1931, 2087, 2243, 2399, 2477, 2633, 2711, 2789, 3023, 3257, 3413, 3491, 3803, 3881, 4271, 4349, 4583, 4817, 4973, 5051, 5441, 5519, 5987, 6143, 6221, 6299, 6689, 7001, 7079, 7547, 7703, 7937
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[3000]], MemberQ[{20}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 20 2012 *)
Select[Range[20, 8000, 39], PrimeQ] (* Harvey P. Dale, Jun 22 2013 *)
PROG
(Magma)[p: p in PrimesUpTo(9000) | p mod 39 eq 20 ]; // Vincenzo Librandi, Aug 20 2012
(PARI) is(n)=isprime(n) && n%39==20 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A107157 A039537 A220463 * A129480 A044310 A044691
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved