I am working on a task where the following is given:
Let $r > 0$ and $f$ a holomorphic function on $U=B_r(a)$ so that $f(a)=0$ but $f'(a)\neq 0$.
The Solution claims the existence of a holomorphic function $g: U \to \Bbb C$ with $f(z)=(z-a)g(z)$. I don't undestand why $g(a)=a_1$ where $a_1$ is a coefficient of the power series of $f$.
A slightly more convenient approach, imho:
Since $f$ is analytic on a disc centered at $a$, it is exactly equal to a power series of the form $f(z)=\sum_{k=0}^\infty a_k (z-a)^k$. Also, we have that $a_k=\frac{f^{(k)}(a)}{k!}$. In particular, $a_0=0$. So we have
$$\begin{align}f(z)&=\sum_{k=0}^\infty a_k(z-a)^k\\ &=\sum_{k=1}^\infty a_k(z-a)^k\\ &=(z-a)\sum_{k=1}^\infty a_k (z-a)^{k-1}\\ &=(z-a)\sum_{k=0}^\infty a_{k+1}(z-a)^k \end{align}$$
The power series obtained in the last step is $g$. It's obviously analytic, and $g(a)=a_1$.