Let $\mathbb{Z}$ denote the set of integers. Let $f: \mathbb{Z} \rightarrow \mathbb{Z}$ be such that $f(x) f(y)=f(x+y)+f(x-y)$ for all $x, y \in \mathbb{Z}$. If $f(1)=a >2$, then find all such possible functions .
What i considered was let the function relation be called as $P(x,y)$ , then $P(x,x)$ we get $f(2x) =f^2(x) - f(0)$ and $P(x,0)$ gives $f(x)(f(0)-2) = 0$ , which leads us to $f(0) = 2$ since if $f(x) = 0 \forall x$ then we have $f(0) = 0$ which is contradicting the given condition . Hence $f(0) = 2$ , now we check injectivity $P(x_1,x_2)$ ,such that $f(x_2)= f(x_1)$ but that doesnt lead me to $x_1 =x_2$ conclusion also how do we check surjectivity in this case ?