My approach I learnt of constructing primitive is usually in the proof of Morera's theorem. $F(z)=\int_\{[a,z]\}f(w)dw$. However, I found this not that useful because we don't have triangular path control. Could you give me some suggestions?
Firstly, is constructing the Primitive a right way to approach this problem? Secondly, is it the right way to construct "Primitive"? Thirdly, if I have defined in this way, what I should do to show it is well defined? Fourthly, where can I use $\int_{|z|=3|}f(z)dz=0$?
i.e. I am just asking the question stated in the topic.
Hints: 1. For any integer $n\ne -1,$ $z^n$ has an antiderivative on $\mathbb C\setminus \{0\}.$ 2. Could the Laurent expansion of your $f$ have a $z^{-1}$ term?