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

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

%S 59,137,293,449,683,761,839,1151,1229,1307,1619,1697,1931,2087,2243,

%T 2399,2477,2633,2711,2789,3023,3257,3413,3491,3803,3881,4271,4349,

%U 4583,4817,4973,5051,5441,5519,5987,6143,6221,6299,6689,7001,7079,7547,7703,7937

%N Primes congruent to 20 mod 39.

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

%t Select[Range[20,8000,39],PrimeQ] (* _Harvey P. Dale_, Jun 22 2013 *)

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

%o (PARI) is(n)=isprime(n) && n%39==20 \\ _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 April 18 20:26 EDT 2024. Contains 371781 sequences. (Running on oeis4.)