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!)
A141951 Primes congruent to 5 mod 27. 1

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

%S 5,59,113,167,383,491,599,653,761,977,1031,1193,1301,1409,1571,1733,

%T 1787,1949,2003,2111,2273,2381,2543,3083,3137,3191,3299,3407,3461,

%U 3623,3677,3947,4001,4217,4271,4649,4703,4919,4973,5081,5189,5297,5351,5783,6053

%N Primes congruent to 5 mod 27.

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

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

%t Select[Prime[Range[800]], MemberQ[{5}, Mod[#, 27]] &] (* _Vincenzo Librandi_, Aug 16 2012 *)

%o (Magma) [p: p in PrimesUpTo(7000) | p mod 27 eq 5 ]; // _Vincenzo Librandi_, Aug 16 2012

%o (PARI) is(n)=isprime(n) && n%27==5 \\ _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 25 03:15 EDT 2024. Contains 371964 sequences. (Running on oeis4.)