The first simple formula has been found for calculating how many ways a number can be created by adding together other numbers, solving a puzzle that captivated the legendary mathematician Srinivasa ...