Mathematician Grigori Perelman solved one of the hardest problems in human history, then declined every prize and withdrew from public life entirely.