Al-Ma'mun Brāhmasphuṭasiddhānta Qusta ibn Luqa al-Karajī Ibn al-Haytham Wilson's theorem Arithmetica
In the early ninth century, the caliph Al-Ma'mun ordered translations of many Greek mathematical works and at least one Sanskrit work (the Sindhind, which may or may not be Brahmagupta's Brāhmasphuṭasiddhānta).
Diophantus's main work, the Arithmetica, was translated into Arabic by Qusta ibn Luqa (820–912).
Part of the treatise al-Fakhri (by al-Karajī, 953 – ca. 1029) builds on it to some extent. According to Rashed Roshdi, Al-Karajī's contemporary Ibn al-Haytham knew what would later be called Wilson's theorem.
