OFFSET
1,1
EXAMPLE
40 is in the sequence since 40 = 4 + 36 (both squares) and (36 - 4) = 32 | 40^2 = 1600.
MATHEMATICA
Flatten[Table[If[Sum[(Floor[Sqrt[i]] - Floor[Sqrt[i - 1]]) (Floor[Sqrt[n - i]] - Floor[Sqrt[n - i - 1]]) (1 - Ceiling[n^2/(n - 2 i)] + Floor[n^2/(n - 2 i)]), {i, Floor[(n - 1)/2]}] > 0, n, {}], {n, 500}]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Apr 03 2020
STATUS
approved