[go: up one dir, main page]

login
A142161
Primes congruent to 4 mod 39.
1
43, 199, 277, 433, 823, 1213, 1291, 1447, 1759, 1993, 2383, 2539, 2617, 2851, 3163, 3319, 3631, 3709, 3943, 4021, 4099, 4177, 4567, 4723, 4801, 4957, 5113, 5347, 5503, 5581, 5659, 5737, 6361, 6673, 6829, 6907, 7219, 7297, 7687, 8233, 8311, 8389, 8467, 8623
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[3000]], MemberQ[{4}, Mod[#, 39]]&] (* Vincenzo Librandi, Aug 19 2012 *)
Select[Range[4, 9000, 39], PrimeQ] (* Harvey P. Dale, Oct 09 2015 *)
PROG
(Magma) [p: p in PrimesUpTo(9000) | p mod 39 eq 4 ]; // Vincenzo Librandi, Aug 19 2012
(PARI) is(n)=isprime(n) && n%39==4 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A342509 A145650 A142527 * A193144 A142659 A140041
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved