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”).

A045442
Primes congruent to {1, 5, 7} mod 8.
1
5, 7, 13, 17, 23, 29, 31, 37, 41, 47, 53, 61, 71, 73, 79, 89, 97, 101, 103, 109, 113, 127, 137, 149, 151, 157, 167, 173, 181, 191, 193, 197, 199, 223, 229, 233, 239, 241, 257, 263, 269, 271, 277, 281, 293, 311, 313
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[100]], MemberQ[{1, 5, 7}, Mod[#, 8]]&] (* Harvey P. Dale, Mar 25 2012 *)
PROG
(Magma)[ p: p in PrimesUpTo(500) | p mod 8 in {1, 5, 7} ]; // Vincenzo Librandi, Aug 13 2012
CROSSREFS
Cf. A000040.
Sequence in context: A216745 A087155 A216753 * A216777 A216747 A216739
KEYWORD
nonn,easy
STATUS
approved