Seol mar théacs é seo: Number theory: an approach through history. From Hammurapi to Legendre