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

Primes congruent to 15 mod 64.
1

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

%S 79,271,463,719,911,1039,1103,1231,1423,1487,1871,1999,2063,2383,2447,

%T 2767,3023,3343,3407,3727,3919,4111,4751,4943,5519,5647,5711,5839,

%U 5903,6287,6607,6863,6991,7247,7759,7823,7951,8527,8719,8783,9103,9551,9679,9743

%N Primes congruent to 15 mod 64.

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

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

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

%t Select[Range[15,10000,64],PrimeQ] (* _Harvey P. Dale_, Mar 30 2020 *)

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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