The function f(n) is defined for all integers n, such that
f(x) + f(y) = f(x + y) - 4xy - 1 + f(x^2) + f(y^2) for all integers x and y, and f(1) = 1. Find f(n).