  We give an estimation for the arithmetic genus of an integral space curve,
which are not contained in a surface of degree $k-1$. Our main technique is the
Bogomolov-Gieseker type inequality for $\mathbb{P}^3$ proved by Macri.
