Despite only living to the age 26, he published works that have earned him a place among the world’s foremost mathematicians.