OFFSET
1,2
COMMENTS
For any factorial k = m*n where m > n and both m and n are even, ((m-n)/2)^2 + k = ((m+n)/2)^2 will appear in this sequence.
EXAMPLE
13^2 = 7^2 + 5!.
MATHEMATICA
With[{f = Range[9]!}, q[n_] := AnyTrue[f, IntegerQ @ Sqrt[n - #] &]; Select[Range[Floor @ Sqrt[f[[-1]]]]^2, q]] (* Amiram Eldar, Oct 28 2022 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Walter Robinson, Oct 28 2022
STATUS
approved