Given $(X,d)$ complete with $A \subset X$ closed, and $f: A \to A$ satisfying $$ d(f^{n}(x),f^{n}(y)) \leqslant a_{n}d(x,y) \hspace{3mm} \forall x,y \in A \hspace{3mm} n \in \mathbb{N}$$ where $a_{n} > 0$ and $\sum_{n=1}^{\infty} a_{n} < \infty$, show that $f$ has a unique fixed point.
Obviously, I want to show that $f$ has a unique fixed point. Since $A \subset X$ is closed in the complete space $(X,d)$, then $(A,d)$ is complete. Do I simply need to show that $f$ is a contraction? (Banach Fixed Point Theorem). I feel that I am missing something.
Hint: $\sum_{n=1}^{\infty}a_{n} < \infty \implies \lim_{n\to \infty} a_{n} = 0 \implies a_{N} < 1$ for some $N$. Hence, $g(x) = f^{N}(x)$ is a contraction by the hypothesis and hence by the contraction mapping theorem, there exists $x_{0}$ such that $f^{N}(x_{0}) = x_{0}$. $f(x_{0})=f(f^{N}(x_{0}))=f^{N}(f(x_{0}))$ so $f(x_{0})$ is a fixed point of $f^{N}$ so by the uniqueness $f(x_{0})=x_{0}$.