In this note we consider $2$-dimensional lattice random walks killed at leaving a wedge with opening $\alpha\in(0,\pi]$. Assuming that the walk cannot jump over the boundary of the wedge we prove that there exists a harmonic polynomial if and only if $\alpha=\pi/m$ with some integer $m$. Our proof is constructive and allows one to give exact expressions for harmonic polynomials for every integer $m$. Furthermore, we give exact expressions for all finite moments of the exit time, this result is valid for all angles $\alpha$.
Categories: math.PR