A045372 Primes congruent to {1, 2} mod 5.
2, 7, 11, 17, 31, 37, 41, 47, 61, 67, 71, 97, 101, 107, 127, 131, 137, 151, 157, 167, 181, 191, 197, 211, 227, 241, 251, 257, 271, 277, 281, 307, 311, 317, 331, 337, 347, 367, 397, 401, 421, 431, 457, 461, 467
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(600) | p mod 5 in [1, 2]]; // Vincenzo Librandi, Aug 10 2012
-
Mathematica
Select[Prime[Range[100]],MemberQ[{1,2},Mod[#,5]]&] (* Harvey P. Dale, Jul 27 2012 *)
Extensions
Edited by Charles R Greathouse IV, Mar 25 2010