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

%I #13 Jan 16 2023 12:03:34

%S 109,163,271,379,433,487,541,757,811,919,1297,1459,1567,1621,1783,

%T 1999,2053,2161,2269,2377,2539,2593,2647,2917,2971,3079,3187,3457,

%U 3511,3673,3727,3889,3943,4051,4159,4483,4591,4861,4969,5023,5077,5347,5563,5779

%N Primes congruent to 1 mod 27.

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

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

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

%t Select[Range[1,6000,27],PrimeQ] (* _Harvey P. Dale_, Jan 16 2023 *)

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

%o (PARI) is(n)=isprime(n) && n%27==1 \\ _Charles R Greathouse IV_, Jul 02 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 12:53 EDT 2024. Contains 371969 sequences. (Running on oeis4.)