login
A142009
Primes congruent to 5 mod 31.
1
5, 67, 191, 439, 563, 811, 997, 1307, 1493, 1741, 2113, 2237, 2423, 2609, 2671, 2857, 3167, 3229, 3539, 3911, 4159, 4283, 4903, 5399, 5647, 6143, 6329, 6577, 6701, 6763, 6949, 7321, 7507, 7817, 7879, 8623, 8747, 8933, 9181, 9491, 9677, 9739, 10111, 10607
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Prime[Range[1300]], Mod[#, 31]==5&] (* Harvey P. Dale, Mar 30 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 5 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==5 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
Cf. A000040.
Sequence in context: A059852 A057171 A185230 * A226412 A226343 A067393
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved