Let $f$ be a function from $\{1,2,3,\dots,10\}$ to $\Bbb{R}$ such that $$\left(\sum\limits_{i=1}^{10}{\frac{|f(i)|}{2^i}}\right)^2=\left(\sum\limits_{i=1}^{10}{|f(i)|^2}\right)\left(\sum\limits_{i=1}^{10}{\frac{1}{4^i}}\right)$$ How many such $f$ are possible?
I used the Cauchy-Schwarz inequality to conclude that this condition would imply $2|f(1)|=2^2|f(2)|=\dots=2^{10}|f(10)|$, and hence there are uncountably many such functions possible.
However, I am not sure of this. Any help solving this question would be great.