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

A142928
Primes congruent to 7 mod 64.
1
7, 71, 199, 263, 647, 839, 967, 1031, 1223, 1543, 1607, 2311, 2503, 2887, 3079, 3271, 3463, 3527, 3719, 3847, 3911, 4231, 4423, 4679, 4871, 4999, 5639, 6151, 6343, 6599, 6791, 6983, 7559, 7687, 7879, 8263, 8647, 8839, 9479, 10247, 10567, 10631, 11399, 11527
OFFSET
1,1
LINKS
MATHEMATICA
lst={}; Do[p=Prime[n]; If[Mod[p, 64]==7, AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Feb 26 2009 *)
Select[Prime[Range[1800]], MemberQ[{7}, Mod[#, 64]] &] (* Vincenzo Librandi, Sep 06 2012 *)
Select[Range[7, 12000, 64], PrimeQ] (* Harvey P. Dale, May 26 2015 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 64 eq 7 ]; // Vincenzo Librandi, Sep 06 2012
CROSSREFS
Cf. A000040.
Sequence in context: A179784 A142037 A087390 * A201261 A069634 A069619
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved