login
Primes congruent to 29 mod 35.
1

%I #16 Sep 08 2022 08:45:35

%S 29,239,379,449,659,1009,1289,1429,1499,1709,2129,2269,2339,2549,2689,

%T 2969,3109,3319,3389,3529,3739,4019,4159,4229,4649,4789,4999,5209,

%U 5279,5419,5839,6329,6469,6679,6959,7309,7589,8009,8219,8429,8779,8849,9059,9199

%N Primes congruent to 29 mod 35.

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

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

%t Select[Range[29, 20000, 35], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jun 29 2011 *)

%t Select[Prime[Range[1200]],Mod[#,35]==29&] (* _Harvey P. Dale_, Aug 24 2011 *)

%t Select[Prime[Range[3000]],MemberQ[{29},Mod[#,35]]&] (* _Vincenzo Librandi_, Aug 19 2012 *)

%o (Magma) [p: p in PrimesUpTo(10000) | p mod 35 eq 29 ]; // _Vincenzo Librandi_, Aug 19 2012

%o (PARI) is(n)=isprime(n) && n%35==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