Find the sum of all integral values of c with c <= 25 for which the equation y = x^2 - 17x - c has two rational roots.
For there to be 2 rational roots, the derivative has to be a positive square.
(17^2 + 4c) is a positive square like (1, 4, 9, 16...)
Take it from here. :))