Let $f(z) = \sum_{n = 0}^\infty c_n z^n$ for $\left| z \right| < R$.
The problem as stated.
For all $r < R$, $$\int_{\left\{ |z| = r \right\}} \left| f(z) \right|^2 \, dz = 2\pi \sum_{n=0}^\infty \left| c_n \right|^2 r^{2n}. $$
What I think the statement should be.
For all $r < R$, $$\int_{\left\{ |z| = r \right\}} \frac{\left| f(z) \right|^2}{iz} \, dz = 2\pi \sum_{n=0}^\infty \left| c_n \right|^2 r^{2n}. $$
Basically, I think the professor forgot to account for the derivative $\gamma^\prime(t) = ire^{it}$ that enters into the integrand when we calculate the integral over $[0, 2\pi]$.
Question. Am I correct?
Thanks for your help.