The mathematician Évariste Galois died at the age of 20 but not before solving a problem that had been standing for 350 years.