OFFSET
1,2
COMMENTS
The values of k corresponding to the first terms are: 3, 7, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 4, 3, 3, 3, ...
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..100
EXAMPLE
a(1) = 1: p1 = 107 and p2 = 109 is the first pair with a sum that is a 3rd power, 216=6^3;
a(2) = 1296: p1 = 1296*108 - 1 = 139967, p2 = 1296*108 + 1 = 139969, p1 + p2 = 279936 = 6^7.
PROG
(PARI) my(pp=5, j); forprime(p=7, 10000000000, if(p-pp==2, if(j=ispower(p+pp), if(j>2, print1((p+pp)/216, ", ")))); pp=p)
CROSSREFS
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Jan 05 2020
STATUS
approved