login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A142161 Primes congruent to 4 mod 39. 1

%I

%S 43,199,277,433,823,1213,1291,1447,1759,1993,2383,2539,2617,2851,3163,

%T 3319,3631,3709,3943,4021,4099,4177,4567,4723,4801,4957,5113,5347,

%U 5503,5581,5659,5737,6361,6673,6829,6907,7219,7297,7687,8233,8311,8389,8467,8623

%N Primes congruent to 4 mod 39.

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

%t Select[Range[4,9000,39],PrimeQ] (* _Harvey P. Dale_, Oct 09 2015 *)

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

%o (PARI) is(n)=isprime(n) && n%39==4 \\ _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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 07:37 EDT 2021. Contains 343636 sequences. (Running on oeis4.)