cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A142008 Primes congruent to 4 mod 31.

This page as a plain text file.
%I A142008 #19 Sep 08 2022 08:45:35
%S A142008 97,283,593,1151,1213,1399,1523,1709,2081,2143,2267,2887,3011,3259,
%T A142008 3631,4003,4127,4561,4871,4933,5119,5801,5987,6173,6359,6421,6607,
%U A142008 6793,6917,7103,7351,7537,7723,8219,8467,8839,8963,9397,9521,9769,10079,10141,10513
%N A142008 Primes congruent to 4 mod 31.
%H A142008 Vincenzo Librandi, <a href="/A142008/b142008.txt">Table of n, a(n) for n = 1..1000</a>
%F A142008 a(n) ~ 30n log n. - _Charles R Greathouse IV_, Jul 03 2016
%t A142008 Select[Range[4,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 20 2011 *)
%t A142008 Select[Prime[Range[1500]],Mod[#,31]==4&] (* _Harvey P. Dale_, Sep 21 2021 *)
%o A142008 (Magma) [ p: p in PrimesUpTo(30000) | p mod 31 eq 4 ]; // _Vincenzo Librandi_, Apr 20 2011
%o A142008 (PARI) is(n)=isprime(n) && n%31==4 \\ _Charles R Greathouse IV_, Jul 03 2016
%Y A142008 Cf. A000040, A142005, A142006.
%K A142008 nonn,easy
%O A142008 1,1
%A A142008 _N. J. A. Sloane_, Jul 11 2008