Prove that there does not exist an analytic function $f$ in an unit disc containing $0$ such that $$f\left(\frac{1}{n}\right)=2^{-n}.$$
I tried by using Identity theorem.
Suppose that $f$ is analytic in the unit disc.
Consider the function $g(z)=f(z)-2^{-\frac{1}{z}}$.
Then the zeros of the function $g(z)$ are $\{\frac{1}{n}:n\in \mathbb N\}$ which has a limit point $0$ in the disc. So, $g$ is identically zero. Then, $f(z)=2^{-1/z}$. But, I am unable to find a point such that we arrive at a contradiction.
Please help to find it OR any other technique to prove the question.