login
A142312
Primes congruent to 1 mod 45.
2
181, 271, 541, 631, 811, 991, 1171, 1531, 1621, 1801, 2161, 2251, 2341, 2521, 2791, 2971, 3061, 3331, 3511, 3691, 4051, 4231, 4591, 4861, 4951, 5581, 5851, 6121, 6211, 6301, 6481, 6571, 6661, 6841, 7561, 7741, 8011, 8101, 8191, 8461, 8641, 8731, 8821, 9001
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Prime[Range[3000]], MemberQ[{1}, Mod[#, 45]]&] (* Vincenzo Librandi, Aug 25 2012 *)
Select[Range[1, 10000, 45], PrimeQ] (* Harvey P. Dale, Mar 10 2016 *)
PROG
(Magma) [p: p in PrimesUpTo(10000) | p mod 45 eq 1]; // Vincenzo Librandi, Aug 25 2012
(PARI) is(n)=isprime(n) && n%45==1 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
Cf. A000040.
Sequence in context: A053140 A330366 A107694 * A020360 A238670 A168473
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved