Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #19 Sep 08 2022 08:45:37
%S 5,197,389,709,773,1093,1669,1733,1861,2053,2309,2437,2693,3461,4229,
%T 4357,4421,4549,4933,5189,5381,5573,5701,6277,6469,6661,6917,7109,
%U 7237,7621,7877,8069,8389,8581,8837,9029,9157,9221,9349,9413,9733,10181,10501,10949
%N Primes congruent to 5 mod 64.
%H Vincenzo Librandi, <a href="/A142927/b142927.txt">Table of n, a(n) for n = 1..1000</a>
%t lst={};Do[p=Prime[n];If[Mod[p,64]==5,AppendTo[lst,p]],{n,7!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Feb 26 2009 *)
%t Select[Prime[Range[1800]], MemberQ[{5}, Mod[#, 64]] &] (* _Vincenzo Librandi_, Sep 06 2012 *)
%t Select[Range[5,11000,64],PrimeQ] (* _Harvey P. Dale_, Jan 30 2016 *)
%o (Magma) [p: p in PrimesUpTo(12000) | p mod 64 eq 5]; // _Vincenzo Librandi_, Sep 06 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008