A045366 Primes congruent to {2, 5} mod 8.
2, 5, 13, 29, 37, 53, 61, 101, 109, 149, 157, 173, 181, 197, 229, 269, 277, 293, 317, 349, 373, 389, 397, 421, 461, 509, 541, 557, 613, 653, 661, 677, 701, 709, 733, 757, 773, 797, 821, 829, 853, 877, 941, 997
Offset: 1
Links
- Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
- H. Quan, F. Roman, M. Washington, Infinite products and periodic sequences, in MSRI-UP Research Reports, 2014, pp. 60-91.
Programs
-
Magma
[p: p in PrimesUpTo(1200) | p mod 8 in [2, 5]]; // Vincenzo Librandi, Aug 10 2012
-
Mathematica
Select[Prime[Range[300]],MemberQ[{2,5},Mod[#,8]]&] (* Vincenzo Librandi, Aug 10 2012 *)