OFFSET
1,3
COMMENTS
It is conjectured that every number greater than 6563 can be written in this form.
LINKS
Emmanuel Osalotioman Osazuwa, Table of n, a(n) for n = 1..10000
Thomas Bloom, Problem 1148, Erdős Problems.
PROG
(Python) isok = lambda k, math=__import__('math'): any(any(0 <= (k + z**2 - x**2) <= k and math.isqrt(k + z**2 - x**2)**2 == (k + z**2 - x**2) for x in range(math.isqrt(k) + 1)) for z in range(math.isqrt(k) + 1))
CROSSREFS
KEYWORD
nonn
AUTHOR
Emmanuel Osalotioman Osazuwa, Feb 04 2026
STATUS
approved
