Given that $f$ is a holomorphic function on a domain $D \subset \mathbb{C}$, and $ \forall a \in D$ we have a $n_a \in \mathbb{N}$ such that $f^{n_a}(a) = 0$. We have to use this to show that $f$ is a polynomial in $z$.
My thoughts: As $f$ is holomorphic, it is analytic, and it has a power series expansion $\forall a \in D$. The derivative condition translates to the fact that in every power series expansion of $f$ around $a$, $f(z)=\sum_{n=0}^\infty c_n(z-a)^n$, at least one coefficient $c_n$ is $0$.
Is my interpretation of the problem so far correct? How do I proceed from here? I'll probably have to use something like $\mathbb{N}$ is countable, but $\mathbb{C}$ is not. But still I'm not very clear.