[go: up one dir, main page]

login
A141948
Primes congruent to 1 mod 27.
3
109, 163, 271, 379, 433, 487, 541, 757, 811, 919, 1297, 1459, 1567, 1621, 1783, 1999, 2053, 2161, 2269, 2377, 2539, 2593, 2647, 2917, 2971, 3079, 3187, 3457, 3511, 3673, 3727, 3889, 3943, 4051, 4159, 4483, 4591, 4861, 4969, 5023, 5077, 5347, 5563, 5779
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Prime[Range[800]], MemberQ[{1}, Mod[#, 27]] &] (* Vincenzo Librandi, Aug 16 2012 *)
Select[Range[1, 6000, 27], PrimeQ] (* Harvey P. Dale, Jan 16 2023 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | p mod 27 eq 1 ]; // Vincenzo Librandi, Aug 16 2012
(PARI) is(n)=isprime(n) && n%27==1 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
Cf. A000040.
Sequence in context: A161483 A283792 A333743 * A102908 A141998 A061277
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved