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.

A094316 Primes p for which 2^j+p^j is also prime for j in {0,2,8,512}.

Original entry on oeis.org

13, 4133, 1831343, 2320583, 3828673, 9173893, 23658377, 24037537, 42489677, 56253203, 78222863, 96325093, 99846337, 110453773, 110468653, 117748427, 122173187, 130937467, 138072163, 146981537, 174978913, 184050553, 186927817
Offset: 1

Views

Author

Labos Elemer, Jun 02 2004

Keywords

Examples

			Smallest such prime is 13 and the relevant four primes are
2, 173, 815730977 and a 571-digit prime.
		

Crossrefs

Programs

  • Mathematica
    {ta=Table[0, {100}], u=1}; {exponents, {a, b, c, d}={0, 2, 8, 512}} Do[s0=Prime[j]^a+2^a;s1=Prime[j]^b+2^b;s2=Prime[j]^c+2^c;s3=Prime[j]^d+2^d; If[PrimeQ[s0]&&PrimeQ[s1]&&PrimeQ[s2]&&PrimeQ[s3], Print[{j, Prime[j]}];ta[[u]]=Prime[j];u=u+1], {j, 1, 1000000}] ta

Extensions

a(6)-a(23) from Donovan Johnson, Oct 12 2008