login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142186 Primes congruent to 9 mod 40. 1

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

%S 89,409,449,569,769,809,929,1009,1049,1129,1249,1289,1409,1489,1609,

%T 1889,2089,2129,2609,2689,2729,2969,3049,3089,3169,3209,3329,3449,

%U 3529,3769,3889,3929,4049,4129,4289,4409,4649,4729,4889,4969,5009,5209,5449,5569

%N Primes congruent to 9 mod 40.

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

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

%t Select[Prime[Range[2000]],MemberQ[{9},Mod[#,40]]&] (* _Vincenzo Librandi_, Aug 20 2012 *)

%o (Magma)[p: p in PrimesUpTo(7000) | p mod 40 eq 9]; // _Vincenzo Librandi_, Aug 20 2012

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 09:44 EDT 2024. Contains 371268 sequences. (Running on oeis4.)