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.

A053182 Primes p such that p^2 + p + 1 is prime.

Original entry on oeis.org

2, 3, 5, 17, 41, 59, 71, 89, 101, 131, 167, 173, 293, 383, 677, 701, 743, 761, 773, 827, 839, 857, 911, 1091, 1097, 1163, 1181, 1193, 1217, 1373, 1427, 1487, 1559, 1583, 1709, 1811, 1847, 1931, 1973, 2129, 2273, 2309, 2339, 2411, 2663, 2729, 2789, 2957
Offset: 1

Views

Author

Enoch Haga, Mar 01 2000

Keywords

Comments

Roger Horn computed the first 776 terms of this sequence around 1961 to test (with Paul Bateman) their conjecture on the density of simultaneous primes in polynomials. - Charles R Greathouse IV, Apr 05 2011
Starting with a(3)=5 all terms are of the form 6k-1, k in A147683. - Zak Seidov, Nov 10 2008
Primes p such that the sum of divisors of p^2 (sigma(p^2) = A000203(p^2) = p^2+p+1) is prime. - Claudio Meller, Apr 07 2011
The generated prime numbers p^2 + p + 1 are exactly A053183. - Bernard Schott, Dec 20 2012
Positive squarefree k such that the sum of divisors of k^2 is prime. - Peter Munn, Feb 02 2018

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(10000) | IsPrime(p^2+p+1)]; // Vincenzo Librandi, Aug 06 2010
  • Mathematica
    Select[Prime[Range[427]], PrimeQ[#^2+#+1]&] (* Bruno Berselli, Nov 08 2011 *)
  • PARI
    isA053182(n)=isprime(n) && isprime(n^2+n+1)  \\ Michael B. Porter, Apr 23 2010
    
  • PARI
    c=0; forprime(p=1,default(primelimit), isprime(p^2+p+1) & write("/tmp/b053182.txt",c++," "p))  \\ M. F. Hasler, Apr 07 2011
    

Extensions

List changed to cross-reference by Franklin T. Adams-Watters, May 12 2010