In order to calculate the density of states of single particle in the simple harmonic potential, we would calculate that $$ D(\epsilon)=\sum_{n}\delta(\epsilon-\epsilon_n) $$ where $\epsilon_n=(n+1/2)\hbar\omega$. In the limit $\hbar\omega\ll1$,we find that $$ D(\epsilon)\approx\frac{1}{\hbar\omega}\theta(\epsilon). $$
But I want to know how to calculate the $D(\epsilon)$ exactly by means of some special function for example.