Find all functions $f$ satisfying the property that $$ f(x) = f(x/2) $$ for all $x \in \mathbb{R}$
So far I've come up with the following assumptions:
-$f$ is periodic, i.e of form $f(x) = A \cos(g(x))$
-$O(g(x)) = \log_2x$
I've hit a dead end though. Are my assumptions correct? What else should I try?
EDIT: Here's the motivation behind the periodicity:
Hint $f(x)=f({x\over 2})=f({x\over 2^2})=\dots=f({x\over 2^n})$
If $f$ is continuous then $f(x)=f(0)$