login
Primes congruent to 6 mod 35.
1

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

%S 41,181,251,461,601,811,881,1021,1091,1231,1301,1511,1721,1861,1931,

%T 2141,2281,2351,3121,3191,3331,3541,3821,4241,4451,4591,4801,4871,

%U 5011,5081,5431,5501,5641,5711,5851,6131,6271,6481,6551,6691,6761,6971,7321,7741

%N Primes congruent to 6 mod 35.

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

%t Select[Range[6, 20000, 35], PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Jul 02 2011 *)

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

%o (PARI) select(n->n%35==6,primes(1000)) \\ _Charles R Greathouse IV_, Jul 02, 2011

%o (Magma) [p: p in PrimesUpTo(9000) | p mod 35 eq 6 ]; // _Vincenzo Librandi_, Aug 18 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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