Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #16 Sep 08 2022 08:45:35
%S 43,167,229,353,601,787,911,1097,1283,1531,2027,2089,2213,2399,2647,
%T 2833,2957,3019,3329,3391,3701,4073,4259,4507,4817,5003,5189,5437,
%U 5623,6367,6491,6553,6863,7297,7607,7669,7793,8537,8599,8971,9157,9281,9343,9467
%N Primes congruent to 12 mod 31.
%H Vincenzo Librandi, <a href="/A142016/b142016.txt">Table of n, a(n) for n = 1..1000</a>
%F a(n) ~ 30n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t Select[Range[12,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 20 2011 *)
%o (Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 12 ]; // _Vincenzo Librandi_, Apr 20 2011
%o (PARI) is(n)=isprime(n) && n%31==12 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y Cf. A000040, A142005, A142006.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_, Jul 11 2008