\listfiles
\documentclass{jarticle}
\usepackage{longdivision}

\begin{document}

$$
\intlongdivision {13}{4}
$$

$$
\longdivision {13}{4}
$$

\end{document}
