Solution 1
f(94)=942−f(93)=942−932+f(92)=942−932+922−f(91)=⋯=(942−932)+(922−912)+⋯+(222−212)+202−f(19)=94+93+⋯+21+400−94=4561
So, the remainder is 561.
Solution 2
Those familiar with triangular numbers and some of their properties will quickly recognize the equation given in the problem. It is well-known (and easy to show) that the sum of two consecutive triangular numbers is a perfect square; that is,
Tn−1+Tn=n2,
where Tn=1+2+...+n=2n(n+1) is the nth triangular number.
Using this, as well as using the fact that the value of f(x) directly determines the value of f(x+1) and f(x−1), we conclude that f(n)=Tn+K for all odd n and f(n)=Tn−K for all even n, where K is a constant real number.
Since f(19)=94 and T19=190, we see that K=−96. It follows that f(94)=T94−(−96)=294⋅95+96=4561, so the answer is 561.