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.

A142006 Primes congruent to 2 mod 31.

This page as a plain text file.
%I A142006 #21 Oct 01 2024 03:08:29
%S A142006 2,157,281,467,653,839,1087,1459,1583,1831,2017,2141,2203,2389,2699,
%T A142006 3257,3319,3691,3877,4001,4373,4621,4931,4993,5179,5303,5737,5861,
%U A142006 5923,6047,6481,6791,6977,7039,7349,7411,7907,8093,8527,8713,8837,9209,9643,9767
%N A142006 Primes congruent to 2 mod 31.
%H A142006 Vincenzo Librandi, <a href="/A142006/b142006.txt">Table of n, a(n) for n = 1..1000</a>
%F A142006 {2} UNION A142874. - _R. J. Mathar_, Jul 20 2008
%F A142006 a(n) ~ 30n log n. - _Charles R Greathouse IV_, Apr 28 2015
%t A142006 Select[Range[2,20000,31],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, Apr 07 2011 *)
%o A142006 (Magma) [p: p in PrimesUpTo(12000) | p mod 31 eq 2 ]; // _Vincenzo Librandi_, Aug 17 2012
%o A142006 (PARI) select(n->n%31==2, primes(1000)) \\ _Charles R Greathouse IV_, Apr 28 2015
%Y A142006 Cf. A000040, A141977, A142005.
%K A142006 nonn,easy
%O A142006 1,1
%A A142006 _N. J. A. Sloane_, Jul 11 2008