Nasir al-Din al-Tusi
Khojandi stated a special case of Fermat's last theorem for n = 3, but his attempted proof of the theorem was incorrect. The spherical law of sines may have also been discovered by Khujandi, but it is uncertain whether he discovered it first, or whether Abu Nasr Mansur, Abul Wafa or Nasir al-Din al-Tusi discovered it first.