login
A142291
Primes congruent to 42 mod 43.
2
257, 601, 773, 859, 1031, 1117, 1289, 2063, 2579, 2837, 3181, 3697, 4127, 4643, 4729, 4987, 5417, 5503, 6277, 6449, 6793, 7309, 7481, 8513, 8599, 9029, 9631, 9803, 10061, 10663, 11093, 11351, 11437, 11867, 11953, 12211, 12641, 12899, 13759, 13931, 14447
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 42n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Prime[Range[5000]], MemberQ[{42}, Mod[#, 43]]&] (* Vincenzo Librandi; Aug 25 2012 *)
Select[Range[42, 15000, 43], PrimeQ] (* Harvey P. Dale, Sep 11 2019 *)
PROG
(Magma) [p: p in PrimesUpTo(18000) | p mod 43 eq 42 ]; // Vincenzo Librandi, Aug 25 2012
(PARI) is(n)=isprime(n) && n%43==42 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
Cf. A000040.
Sequence in context: A100633 A007765 A250726 * A208177 A229855 A229856
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved