\documentclass{article}
\usepackage{graphicx}
\usepackage{longdivision}
\usepackage{cancel}
\begin{document}
\section {Even Numbers}
Even numbers are numbers that can be divided by two without leaving a remainder\\
\intlongdivision{912}{3}\\
\begin{tabular}{ccccc}
&&3&0&4\\
\hline
3&)&9&\cancel{1}&$^1{2}$\\
\end{tabular}
\end{document}
Math Mode – How to Get Cleaner Code for the Division Sum
math-modemath-operators
Best Answer
Not sure if the classical division style of
xlop
package could be a problem, but otherwise produce a decent output: