login
A268860
Prime numbers ending in 27.
3
127, 227, 727, 827, 1327, 1427, 1627, 2027, 2927, 3527, 3727, 4027, 4127, 4327, 5227, 5527, 5827, 5927, 6427, 6827, 7027, 7127, 7727, 7927, 8527, 8627, 9127, 9227, 10427, 10627, 11027, 11527, 11827, 11927, 12227, 12527, 13127, 13327, 13627, 14327, 14627
OFFSET
1,1
MAPLE
A268860:=n->`if`(isprime(n) and n mod 100 = 27, n, NULL): seq(A268860(n), n=1..5*10^4); # Wesley Ivan Hurt, Apr 02 2016
MATHEMATICA
Select[Table[27 + 100 i, {i, 0, 10^3}], ProvablePrimeQ[#] &]
PROG
(Magma) [n: n in PrimesUpTo(15000) | n mod 100 eq 27]; // Vincenzo Librandi, Feb 15 2016
(PARI) lista(nn) = {forprime(p=2, nn, if ((p-27) % 100 == 0, print1(p, ", ")); ); } \\ Michel Marcus, Feb 20 2016
(Python)
from sympy import isprime
for n in range(127, 10000, 100):
if(isprime(n)):print(n)
# Soumil Mandal, Apr 02 2016
CROSSREFS
Sequence in context: A045117 A178700 A142466 * A142491 A142551 A048453
KEYWORD
nonn,base
AUTHOR
Soumadeep Ghosh, Feb 14 2016
STATUS
approved