OFFSET
1,6
COMMENTS
a(n) = 0 if A001481(n) is square. Conjecture: the values between two zeros are always distinct from each other.
EXAMPLE
The 6th number expressible as sum of two squares A001481(6) = 8 = 2^2 + 2^2, so a(6)=2.
PROG
(PARI) for(n=1, 300, s=sqrtint(n); forstep(i=s, 1, -1, if(issquare(n-i*i), print1(sqrtint(n-i*i), ", "); break)))
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Sep 15 2013
STATUS
approved