Seol mar théacs é seo: Mathematics in historical context