OFFSET
1,1
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..1255
EXAMPLE
32 = 2^5 = 16 + 16 = 2^2 + 2^4, so 32 is a term.
PROG
(PARI) isok(n) = {if ((p=ispower(n)) && (p != 2), for (k=1, n-1, if (issquare(k) && (p=ispower(n-k, 4)), return (1)); ); ); }
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Apr 10 2016
STATUS
approved