A142028 Primes congruent to 24 mod 31.
179, 241, 613, 1109, 1171, 1481, 1543, 1667, 2039, 2287, 2411, 2473, 2659, 2969, 3217, 3527, 4271, 4457, 4519, 4643, 5077, 5387, 5449, 5573, 5821, 6007, 6131, 6317, 6379, 6689, 7247, 7309, 7433, 7681, 7867, 8053, 8363, 9293, 9479, 9851, 10037, 10099, 10223
Offset: 1
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[p: p in PrimesUpTo(12000) | p mod 31 eq 24 ]; // Vincenzo Librandi, Aug 17 2012
-
Mathematica
Select[Range[24,20000,31],PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *) Select[Prime[Range[1300]],Mod[#,31]==24&] (* Harvey P. Dale, Jun 14 2018 *)
-
PARI
is(n)=isprime(n) && n%31==24 \\ Charles R Greathouse IV, Jul 03 2016
Formula
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016