OFFSET
1,1
COMMENTS
Although it is easy to produce many terms of this sequence, it is nontrivial to check whether a very large number is of this form.
This sequence is among others motivated by the hard-to-compute sequence A300567 = numbers z such that z^7 = x^5 + y^6 for some x, y >= 1.
PROG
(PARI) is(n, k=5, m=6)=for(b=1, sqrtnint(n-1, m), ispower(n-b^m, n)&&return(b)) \\ Returns b > 0 if n is in the sequence, else 0.
A303375_vec(L=10^5, k=5, m=6, S=List())={for(a=1, sqrtnint(L-1, m), for(b=1, sqrtnint(L-a^m, k), listput(S, a^m+b^k))); Set(S)} \\ all terms up to limit L
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
M. F. Hasler, Apr 22 2018
STATUS
approved