login
A142945
Primes congruent to 45 mod 64.
2
109, 173, 557, 877, 941, 1069, 1453, 1709, 1901, 2029, 2221, 2477, 2797, 2861, 3181, 3373, 3821, 4013, 4397, 4909, 4973, 5101, 5741, 5869, 6317, 6637, 6701, 6829, 7213, 7789, 7853, 8237, 8429, 8941, 9133, 9901, 10093, 10477, 10733, 10861, 11117, 11437
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 32n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
lst={}; Do[p=Prime[n]; If[Mod[p, 64]==45, AppendTo[lst, p]], {n, 7!}]; lst (* Vladimir Joseph Stephan Orlovsky, Mar 02 2009 *)
Select[Prime[Range[1800]], MemberQ[{45}, Mod[#, 64]] &] (* Vincenzo Librandi, Sep 07 2012 *)
Select[Range[45, 12000, 64], PrimeQ] (* Harvey P. Dale, Feb 08 2023 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 64 eq 45]; // Vincenzo Librandi, Sep 07 2012
(PARI) is(n)=isprime(n) && n%64==45 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A102908 A141998 A061277 * A142079 A142224 A054267
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved