login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 41 mod 51.
1

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

%S 41,347,449,653,857,1061,1163,1367,1571,1877,1979,2081,2591,2693,2897,

%T 2999,3203,3407,3917,4019,4733,4937,5039,5651,6263,6569,6977,7079,

%U 7283,7487,7589,7691,7793,8609,9221,9323,9629,9833,10037,10139,10343,10853,11057

%N Primes congruent to 41 mod 51.

%H Vincenzo Librandi, <a href="/A142501/b142501.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[{41}, Mod[#, 51]] &] (* _Vincenzo Librandi_, Aug 28 2012 *)

%t Select[Range[41,12000,51],PrimeQ] (* _Harvey P. Dale_, Jan 26 2014 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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