login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 25 mod 64.
1

%I #14 Sep 08 2022 08:45:37

%S 89,281,409,601,857,1049,1433,1753,2137,2393,2521,2713,2777,2969,3673,

%T 3929,4057,4441,4889,5081,5209,5273,5657,5849,6361,6553,7001,7129,

%U 7193,7321,7577,8089,8537,9049,9241,9433,9497,9689,9817,10009,10457,11161,11353,11801

%N Primes congruent to 25 mod 64.

%H Vincenzo Librandi, <a href="/A142936/b142936.txt">Table of n, a(n) for n = 1..1000</a>

%t lst={};Do[p=Prime[n];If[Mod[p,64]==25,AppendTo[lst,p]],{n,7!}];lst (* _Vladimir Joseph Stephan Orlovsky_, Mar 02 2009 *)

%t Select[Prime[Range[1800]], MemberQ[{25}, Mod[#, 64]] &] (* _Vincenzo Librandi_, Sep 06 2012 *)

%t Select[Range[25,12000,64],PrimeQ] (* _Harvey P. Dale_, Mar 22 2015 *)

%o (Magma) [p: p in PrimesUpTo(12000) | p mod 64 eq 25 ]; // _Vincenzo Librandi_, Sep 06 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008