"The Last Theorem" is set in Sri Lanka in the early- to mid-21st century and follows the life of a mathematician, Ranjit Subramanian. While studying at Colombo University, he becomes obsessed with Fermat's Last Theorem, a conjecture made by Pierre de Fermat in 1637, for which he claimed to have conceived a proof that he never wrote down. The proof eluded mathematicians across the world for over 350 years, until in 1995 British mathematician Andrew Wiles published a 100-page proof of the theorem. But not everyone was "satisfied" with Wiles's proof because it used twentieth century mathematical techniques not available in Fermat's time.