OFFSET

1,1

COMMENTS

A prime p for which p + 2 is prime is in A001359 Lesser of twin primes. This sequence is a generalization of that, but with prime to prime power substituting for prime (and excluding 2 from base and exponent).

EXAMPLE

a(1) = 29 = 3^3 + 2.

a(2) = 127 = 5^3 + 2.

a(3) = 24391 = 29^3 + 2.

a(4) = 161053 = 11^5 + 2.

a(5) = 357913 = 71^3 + 2.

a(6) = 571789 = 83^3 + 2.

1174711139839 is in this sequence because 1174711139839 = 53^7 + 2 is prime.

CROSSREFS

KEYWORD

easy,nonn

AUTHOR

Jonathan Vos Post, May 11 2006

EXTENSIONS

Extended by Ray Chandler, Oct 28 2008

STATUS

approved