login
A142159
Primes congruent to 1 mod 39.
2
79, 157, 313, 547, 859, 937, 1093, 1171, 1249, 1327, 1483, 1873, 1951, 2029, 2341, 2731, 2887, 3121, 3433, 3511, 3823, 4057, 4447, 4603, 4759, 4993, 5227, 5851, 6007, 6163, 6397, 6553, 6709, 7177, 7333, 7411, 7489, 7723, 7879, 8191, 8269, 8581, 8737, 8893
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[3000]], MemberQ[{1}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 19 2012 *)
Select[Range[1, 9000, 39], PrimeQ] (* Harvey P. Dale, Dec 21 2014 *)
PROG
(Magma)[p: p in PrimesUpTo(9000) | p mod 39 eq 1 ]; // Vincenzo Librandi, Aug 19 2012
(PARI) is(n)=isprime(n) && n%39==1 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A142082 A031890 A140008 * A046050 A044330 A044711
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved