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”).
%I #15 Oct 14 2023 18:18:23
%S 13,269,397,461,653,1229,1549,1613,1741,1933,1997,2381,2957,3469,3533,
%T 3853,3917,4493,4621,4813,4877,5197,5261,5581,6029,6221,6733,7309,
%U 7757,7949,8269,8461,9293,9421,9613,9677,10061,10253,10957,11149,11213,11597,11789
%N Primes congruent to 13 mod 64.
%H Vincenzo Librandi, <a href="/A142931/b142931.txt">Table of n, a(n) for n = 1..1000</a>
%t lst={};Do[p=Prime[n];If[Mod[p,64]==13,AppendTo[lst,p]],{n,7!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Feb 27 2009 *)
%t Select[Prime[Range[1800]], MemberQ[{13}, Mod[#, 64]] &] (* _Vincenzo Librandi_, Sep 06 2012 *)
%t Select[Range[13,12000,64],PrimeQ] (* _Harvey P. Dale_, Oct 14 2023 *)
%o (Magma) [p: p in PrimesUpTo(12000) | p mod 64 eq 13 ]; // _Vincenzo Librandi_, Sep 06 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008