OFFSET
1,1
COMMENTS
2*F is in the sequence, where F is a Fermat prime.
a(12) (if it exists) > 2*10^9. - Giovanni Resta, Apr 02 2017
EXAMPLE
10 = 2^3 + 2^1 = 5^1 + 5^1.
30 = 3^3 + 3^1 = 5^2 + 5^1.
132 = 2^7 + 2^2 = 11^2 + 11^1.
PROG
(PARI) limit=L; v=vector(limit); for(n=1, limit, forprime(p=2, n/2, for(k=1, logint(n\2, 2), for(j=k, logint(n, 2), forprime(q=p+1, n/2, for(t=1, logint(n\2, 3), for(u=t, logint(n, 3), if(n-p^k==p^j&&n-q^t==q^u, v[n]=1)))))))); for(n=1, limit, if(v[n], print1(n", ")))
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Gionata Neri, Mar 31 2017
STATUS
approved