MathCastle
OlympiadSuperchallengeOlympiad Number Theory

Olympiad Number Theory · Superchallenge problem

A function f:R→Rf:\mathbb R\to\mathbb R satisfies f(x+y)+f(x−y)=2f(x)f(y)f(x + y) + f(x - y) = 2f(x)f(y) for all real x,yx, y, is not identically zero, and f(1)=3f(1) = 3. Compute f(2)f(2).