OFFSET
1,1
COMMENTS
It is sufficient to prove that the decomposition exists for k=1..5, because if n^k = a^2+b^3, then n^(k+6) = (n^3*a)^2 + (n^2*b)^3.
EXAMPLE
12348 is a term since 12348 = 98^2 + 14^3, 12348^2 = 9604^2 + 392^3, 12348^3 = 1361367^2 + 3087^3, 12348^4 = 76236552^2 + 259308^3, 12348^5 = 11206773144^2 + 5445468^3.
PROG
(PARI) isA055394(n) = for(k=1, sqrtnint(n-1, 3), if(issquare(n-k^3), return(1))); 0
isok(n) = isA055394(n) && isA055394(n^2) && isA055394(n^3) && isA055394(n^4) && isA055394(n^5)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Altug Alkan, Jun 16 2016
EXTENSIONS
a(6)-a(12) from Giovanni Resta, Jun 18 2016
STATUS
approved