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 27 mod 35.
2

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

%S 97,167,307,587,727,797,937,1217,1427,1567,1637,1777,1847,1987,2267,

%T 2477,2617,2687,2897,3037,3457,3527,3877,3947,4157,4297,4507,4787,

%U 5347,5417,5557,6047,6257,6397,6607,7027,7237,7307,7517,7727,7867,7937,8147,8287

%N Primes congruent to 27 mod 35.

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

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

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

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

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

%o (PARI) is(n)=isprime(n) && n%35==27 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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