login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A045395
Primes congruent to {3, 5, 7} mod 8.
2
3, 5, 7, 11, 13, 19, 23, 29, 31, 37, 43, 47, 53, 59, 61, 67, 71, 79, 83, 101, 103, 107, 109, 127, 131, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 197, 199, 211, 223, 227, 229, 239, 251, 263, 269, 271, 277
OFFSET
1,1
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from Vincenzo Librandi)
MATHEMATICA
Select[Prime[Range[300]], MemberQ[{3, 5, 7}, Mod[#, 8]]&] (* Vincenzo Librandi, Aug 11 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(400) | p mod 8 in [3, 5, 7]]; // Vincenzo Librandi, Aug 11 2012
CROSSREFS
Cf. A000040.
Sequence in context: A192862 A110589 A138004 * A191377 A095070 A350577
KEYWORD
nonn,easy
STATUS
approved