The following is exercise 15 in section V.1 of Conway's Functions of One Complex Variable ("Classification of Singularities"). I'm currently studying for a complex analysis qualifying exam and this has appeared in the past.
Let $f$ be analytic in $G=\{z:0<|z-a|<r\}$ except that there is a sequence of poles $\{a_n\}$ in $G$ with $a_n\rightarrow a$. Show that for any $w$ in $\mathbb{C}$ there is a sequence $\{z_n\}$ in $G$ with $a=\lim z_n$ and $w=\lim f(z)$.
The conclusion makes me want to apply the Casorati-Weirstrass theorem. However, the singularity at $a$ is not isolated. As far as I know, an essential singularity is a particular type of isolated singularity. Am I wrong about this?
Any help would be greatly appreciated.