[go: up one dir, main page]

login
A142321
Primes congruent to 17 mod 45.
2
17, 107, 197, 467, 557, 647, 827, 1097, 1187, 1277, 1367, 1637, 1907, 1997, 2087, 2267, 2357, 2447, 2897, 3167, 3257, 3347, 3527, 3617, 3797, 4157, 4337, 4517, 4787, 4877, 4967, 5147, 5237, 5417, 5507, 5867, 6047, 6317, 6857, 6947, 7127, 7307, 7487, 7577
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Range[17, 10000, 90], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Jul 14 2011 *)
Select[Prime[Range[1200]], MemberQ[{17}, Mod[#, 45]] &] (* Vincenzo Librandi, Aug 26 2012 *)
PROG
(Magma) [p: p in PrimesUpTo(10000) | p mod 45 eq 17]; // Vincenzo Librandi, Aug 26 2012
(PARI) is(n)=isprime(n) && n%45==17 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
Cf. A000040.
Sequence in context: A343706 A282323 A224322 * A007682 A125327 A126485
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved