19th-century mathematicians thought the “roots of unity” were the key to solving Fermat’s Last Theorem. Then they discovered a fatal flaw. Sometimes the usual numbers aren’t enough to solve a problem.