A Treatise on Arithmetic