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 13,137,199,509,571,757,881,1129,1439,1811,1873,1997,2617,2741,2803,
%T 2927,3299,3361,3547,3671,3733,3919,4229,4663,4787,4973,5407,5531,
%U 5717,5779,5903,6089,6151,6337,6709,6833,7019,7577,7639,7949,8011,8693,8941,9127
%N Primes congruent to 13 mod 31.
%H Vincenzo Librandi, <a href="/A142017/b142017.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[13,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 20 2011 *)
%o (Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 13 ]; // _Vincenzo Librandi_, Apr 20 2011
%o (PARI) is(n)=isprime(n) && n%31==13 \\ _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