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.

A060844 Primes of the form 6*k^2 + 6*k + 31.

This page as a plain text file.
%I A060844 #17 Apr 17 2025 12:45:52
%S A060844 31,43,67,103,151,211,283,367,463,571,691,823,967,1123,1291,1471,1663,
%T A060844 1867,2083,2311,2551,2803,3067,3343,3631,3931,4243,4567,4903,6367,
%U A060844 6763,7591,8467,8923,9391,9871,10867,11383,12451,13003,13567,14143,14731
%N A060844 Primes of the form 6*k^2 + 6*k + 31.
%C A060844 Prime for n=[0,28]. Discriminant is -708, which is class no. 4.
%D A060844 Paulo Ribenboim, The Little Book of Bigger Primes, Springer-Verlag NY 2004. See p. 145.
%H A060844 Harry J. Smith, <a href="/A060844/b060844.txt">Table of n, a(n) for n = 1..1000</a>
%t A060844 Select[Table[6n^2+6n+31,{n,0,49}],PrimeQ] (* _Stefano Spezia_, Apr 17 2025 *)
%o A060844 (PARI) { n=0; for (m=0, 2136, f=6*m^2 + 6*m + 31; if (isprime(f), write("b060844.txt", n++, " ", f)); ) } \\ _Harry J. Smith_, Jul 13 2009
%Y A060844 Cf. A060834.
%K A060844 nonn,easy
%O A060844 1,1
%A A060844 _Tito Piezas III_, May 03 2001
%E A060844 More terms from Larry Reeves (larryr(AT)acm.org), May 07 2001