Add diofantic equations.
Fix newpage.