(MAGMAMagma) [p: p in PrimesUpTo(10000) | p mod 45 eq 4]; // Vincenzo Librandi, Aug 25 2012
(MAGMAMagma) [p: p in PrimesUpTo(10000) | p mod 45 eq 4]; // Vincenzo Librandi, Aug 25 2012
editing
approved
a(n) ~ 24n log n. - Charles R Greathouse IV, Jul 02 2016
(PARI) is(n)=isprime(n) && n%45==4 \\ Charles R Greathouse IV, Jul 02 2016
approved
editing
proposed
approved
editing
proposed
Vincenzo Librandi, <a href="/A142314/b142314.txt">Table of n, a(n) for n = 1..1000</a>
Select[Prime[Range[3000]], MemberQ[{4}, Mod[#, 45]]&] (* Vincenzo Librandi, Aug 25 2012 *)
(MAGMA) [p: p in PrimesUpTo(10000) | p mod 45 eq 4]; // Vincenzo Librandi, Aug 25 2012
Cf. A000040.
nonn,easy
approved
editing
_N. J. A. Sloane (njas(AT)research.att.com), _, Jul 11 2008
nonn,new
nonn
N. J. A. Sloane (njas, (AT)research.att.com), Jul 11 2008
Primes congruent to 4 mod 45.
139, 229, 409, 499, 769, 859, 1039, 1129, 1399, 1489, 1579, 1669, 1759, 2029, 2389, 2659, 2749, 3019, 3109, 3469, 3559, 3739, 3919, 4099, 4549, 4639, 4729, 4909, 4999, 5179, 5449, 6079, 6529, 6619, 6709, 7069, 7159, 7699, 7789, 7879, 8059, 8329, 8419, 8599
1,1
nonn
njas, Jul 11 2008
approved