login
Primes congruent to 43 mod 51.
1

%I #11 Sep 08 2022 08:45:36

%S 43,349,757,859,1063,1471,1777,1879,2083,2287,2389,2593,2797,3001,

%T 3307,3511,3613,3919,4021,4327,5347,5449,5653,5857,6163,6367,6469,

%U 6571,6673,7489,7591,8101,8713,9631,9733,10039,10141,10243,10651,10753,10957,11059

%N Primes congruent to 43 mod 51.

%H Vincenzo Librandi, <a href="/A142502/b142502.txt">Table of n, a(n) for n = 1..1000</a>

%F a(n) ~ 32n log n. - _Charles R Greathouse IV_, Jul 03 2016

%t Select[Prime[Range[2400]], MemberQ[{43}, Mod[#, 51]] &] (* _Vincenzo Librandi_, Aug 28 2012 *)

%t Select[Range[43,12000,51],PrimeQ] (* _Harvey P. Dale_, Sep 10 2019 *)

%o (Magma) [p: p in PrimesUpTo(13000) | p mod 51 eq 43]; // _Vincenzo Librandi_, Aug 28 2012

%o (PARI) is(n)=isprime(n) && n%51==43 \\ _Charles R Greathouse IV_, Jul 03 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008