login
Primes congruent to 32 mod 35.
1

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

%S 67,137,277,347,487,557,907,977,1117,1187,1327,1607,1747,2027,2237,

%T 2377,2447,2657,2797,3217,3637,3847,3917,4057,4127,4337,4547,4967,

%U 5107,5387,5527,5737,5807,6367,6577,6857,6997,7207,7417,7487,7907,8117,8467,8537

%N Primes congruent to 32 mod 35.

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

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

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

%o (PARI) select(n->n%35==32,primes(1000)) \\ _Charles R Greathouse IV_, Jun 29 2011

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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