login
A141951
Primes congruent to 5 mod 27.
1
5, 59, 113, 167, 383, 491, 599, 653, 761, 977, 1031, 1193, 1301, 1409, 1571, 1733, 1787, 1949, 2003, 2111, 2273, 2381, 2543, 3083, 3137, 3191, 3299, 3407, 3461, 3623, 3677, 3947, 4001, 4217, 4271, 4649, 4703, 4919, 4973, 5081, 5189, 5297, 5351, 5783, 6053
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 18n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[800]], MemberQ[{5}, Mod[#, 27]] &] (* Vincenzo Librandi, Aug 16 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(7000) | p mod 27 eq 5 ]; // Vincenzo Librandi, Aug 16 2012
(PARI) is(n)=isprime(n) && n%27==5 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A158694 A015994 A222563 * A243701 A179028 A179029
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved