intro to number theory LaTeX homework