login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes congruent to 29 mod 51.
1

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

%S 29,131,233,641,743,947,1049,1151,1559,2069,2273,2477,2579,3089,3191,

%T 3701,3803,4007,4211,4517,4721,5231,5333,5639,5741,5843,6047,6353,

%U 6659,6761,6863,7577,7883,8087,8291,8597,8699,9209,9311,9413,9719,9923,10331,10433

%N Primes congruent to 29 mod 51.

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

%t Select[Range[29,11000,51],PrimeQ] (* _Harvey P. Dale_, Dec 09 2017 *)

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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