OFFSET
1,1
EXAMPLE
17 is in the sequence since 1^2 + 4^2 = 17, 1 is odd, 16 is even, and 0 < 1 < 16.
MATHEMATICA
Table[If[Sum[Mod[i, 2] Mod[n - i + 1, 2] (Floor[Sqrt[i]] - Floor[Sqrt[i - 1]]) (Floor[Sqrt[n - i]] - Floor[Sqrt[n - i - 1]]), {i, Floor[n/2]}] > 0, n, {}], {n, 700}] // Flatten
CROSSREFS
KEYWORD
nonn
AUTHOR
Wesley Ivan Hurt, Dec 24 2020
STATUS
approved