Researchers cracked a 50-year-old math problem scribbled by Richard Feynman over lunch. The equations show that humans are better decision-makers than scientists once thought.