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.

A101315 Primes p such that p+2, p^2 - 2p + 2, and p^2 - 2p + 4 are all prime.

Original entry on oeis.org

3, 5, 11, 431, 1877, 2081, 3851, 9437, 10427, 11351, 12821, 14561, 20147, 26861, 30137, 30851, 37571, 38711, 38921, 40637, 46817, 59357, 73361, 116687, 120941, 125507, 127817, 138371, 144407, 153521, 173021, 177011, 178091, 178817, 185567
Offset: 1

Views

Author

Ray G. Opao, Dec 23 2004

Keywords

Examples

			a(3)=11: 11+2=13, (11-1)^2+1=101 and (11-1)^2+1+2=103 are primes.
		

Programs

  • PARI
    is(n)=isprime(n) && isprime(n+2) && isprime(n^2-2*n+2) && isprime(n^2-2*n+4) \\ Charles R Greathouse IV, Jan 14 2017

Formula

a(n) >> n log^4 n. - Charles R Greathouse IV, Jan 14 2017

Extensions

New name from Charles R Greathouse IV, Jan 14 2017