OFFSET
1,1
COMMENTS
6563 is conjectured to be the largest integer of the sequence. All negative integers are also part of this sequence since the condition x^2, y^2, z^2 <= k will always fail for negative k, as x^2 >= 0.
LINKS
Emmanuel Osalotioman Osazuwa, Table of n, a(n) for n = 1..77
Thomas Bloom, Problem 1148, Erdős Problems.
PROG
(PARI) isok(k)=my(m=sqrtint(k)); if(m^2==k, 0, forstep(x=m, 0, -1, my(r=k-x^2); fordiv(r, d, my(y=(d+r/d)/2); if(!frac(y)&&y<=m, return(0)))); 1) \\ Andrew Howroyd, Feb 03 2026
CROSSREFS
KEYWORD
nonn
AUTHOR
Emmanuel Osalotioman Osazuwa, Jan 30 2026
STATUS
approved
