legend has it that the great mathematician carl friedrich gauss ​(1777–​1855) at a very young age was told by his teacher to find the sum of the first 100 counting numbers. while his classmates toiled at the​ problem, carl simply wrote down a single number and handed the correct answer in to his teacher. the young carl explained that he observed that there were 50 pairs of numbers that each added up to 101. so the sum of all the numbers must be 50•101