login
A142027
Primes congruent to 23 mod 31.
4
23, 271, 457, 643, 829, 953, 1201, 1511, 1697, 1759, 2069, 2131, 2441, 2503, 2689, 2999, 3061, 3371, 3433, 3557, 3929, 4177, 4363, 4549, 4673, 5107, 5231, 5417, 5479, 5851, 6037, 6719, 6781, 6967, 7649, 8269, 8641, 8951, 9013, 9137, 9199, 9323, 10067, 10253
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 02 2016
MATHEMATICA
Select[Range[23, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *)
Select[Prime[Range[1300]], Mod[#, 31]==23&] (* Harvey P. Dale, Sep 05 2023 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 23 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==23 \\ Charles R Greathouse IV, Jul 02 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved