[go: nahoru, domu]

login
A045380
Primes congruent to 2 mod 5.
10
2, 7, 17, 37, 47, 67, 97, 107, 127, 137, 157, 167, 197, 227, 257, 277, 307, 317, 337, 347, 367, 397, 457, 467, 487, 547, 557, 577, 587, 607, 617, 647, 677, 727, 757, 787, 797, 827, 857, 877, 887, 907, 937, 947, 967, 977, 997, 1087, 1097, 1117, 1187, 1217, 1237
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime@Range[210], Mod[ #, 5] == 2 &] (* Ray Chandler, Dec 06 2006 *)
Select[Range[2, 1300, 5], PrimeQ] (* Harvey P. Dale, Jul 22 2020 *)
PROG
(Magma) [p: p in PrimesUpTo(1300) | p mod 5 eq 2]; // Vincenzo Librandi, Aug 07 2012
(PARI) is(n)=isprime(n) && n%5==2 \\ Charles R Greathouse IV, Jul 01 2016
CROSSREFS
Apart from the initial terms, essentially same as A030432 and A045357. Cf. A095022.
Sequence in context: A116576 A086717 A023657 * A086321 A009302 A154117
KEYWORD
nonn,easy
STATUS
approved