sum k = 1 to 25 (k^2-3k+4)