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!)
A142170 Primes congruent to 19 mod 39. 1

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

%S 19,97,331,409,487,643,877,1033,1423,1579,1657,2203,2281,2437,2593,

%T 2671,2749,3061,3217,3373,3529,3607,3919,4153,4231,4621,4933,5011,

%U 5167,5323,5479,5557,5791,5869,6337,6571,6883,6961,7039,7351,7507,7741,8053,8209

%N Primes congruent to 19 mod 39.

%H Vincenzo Librandi, <a href="/A142170/b142170.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[Prime[Range[1100]],Mod[#,39]==19&] (* _Harvey P. Dale_, Mar 30 2011 *)

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

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

%o (PARI) is(n)=isprime(n) && n%39==19 \\ _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 August 11 11:53 EDT 2024. Contains 375069 sequences. (Running on oeis4.)