login
A142021
Primes congruent to 17 mod 31.
1
17, 79, 389, 761, 823, 947, 1009, 1319, 1381, 1567, 1753, 1877, 2063, 2311, 2621, 2683, 3613, 3923, 4357, 4481, 4729, 5039, 5101, 5659, 5783, 6217, 6899, 6961, 7333, 7457, 7643, 7829, 8263, 8387, 8573, 8821, 9007, 9689, 10061, 10247, 10433, 10867, 11177
OFFSET
1,1
LINKS
FORMULA
a(n) ~ 30n log n. - Charles R Greathouse IV, Jul 03 2016
MATHEMATICA
Select[Range[17, 20000, 31], PrimeQ] (* Vladimir Joseph Stephan Orlovsky, Apr 30 2011 *)
PROG
(Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 17 ]; // Vincenzo Librandi, Aug 17 2012
(PARI) is(n)=isprime(n) && n%31==17 \\ Charles R Greathouse IV, Jul 03 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jul 11 2008
STATUS
approved