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

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

%S 61,139,373,607,919,997,1153,1231,1543,1621,1699,1777,1933,2011,2089,

%T 2557,2713,2791,3181,3259,3571,3727,4273,4507,4663,5209,5443,5521,

%U 6067,6301,6379,6691,7159,7237,7393,7549,8017,8329,8563,8641,8719,9109,9187,9343

%N Primes congruent to 22 mod 39.

%H Vincenzo Librandi, <a href="/A142172/b142172.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[3000]],MemberQ[{22},Mod[#,39]]&] (* _Vincenzo Librandi_, Aug 20 2012 *)

%t Select[Range[22,10000,39],PrimeQ] (* _Harvey P. Dale_, Aug 01 2014 *)

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

%o (PARI) is(n)=isprime(n) && n%39==22 \\ _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 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)