Determine all functions $g:\mathbb{N}\rightarrow \mathbb{R}$ such that $g(1)=1$ and $$g(m+n)+g(m-n)=2g(m)+2g(n), \quad \forall m\ge n \in \mathbb{N}$$
Because of the identity $k\cdot (a+b)^2 +k\cdot (a-b)^2=2k\cdot a^2+2k\cdot b^2$
I guess it is $g(x) = q\cdot x^2 \cdot $ and since $g(1)=1$ it is $q=1$ thus $g(x)=x^2$.