A142160 Primes congruent to 2 mod 39.
2, 41, 197, 353, 431, 509, 587, 743, 821, 977, 1289, 1367, 1523, 1601, 1913, 2069, 2381, 2459, 2693, 2927, 3083, 3863, 4019, 4253, 4409, 4643, 4721, 4799, 4877, 5189, 5501, 5657, 5813, 6047, 6203, 6359, 6827, 6983, 7451, 7529, 7607, 7841, 7919, 8231, 8387
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Crossrefs
Cf. A000040.
Programs
-
Magma
[p: p in PrimesUpTo(9000) | p mod 39 eq 2 ]; // Vincenzo Librandi, Aug 19 2012
-
Mathematica
Select[Prime[Range[3000]],MemberQ[{2},Mod[#,39]]&] (* Vincenzo Librandi, Aug 19 2012 *) Select[Range[2,9000,39],PrimeQ] (* Harvey P. Dale, Oct 21 2014 *)
-
PARI
is(n)=isprime(n) && n%39==2 \\ Charles R Greathouse IV, Jul 03 2016
Formula
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016
Comments