The first natural number sum formula is often attributed to the famous mathematician Carl Friedrich Gauss. The story goes that as a young boy, Gauss figured out a quick way to sum the first 100 natural numbers. The formula to find the sum of the first ( n ) natural numbers is:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
To prove this formula, we can use a simple method called mathematical induction, but first, let's understand the intuition behind it using a visual approach.
Consider the natural numbers from 1 to ( n ). If you were to pair the first and the last number, the second and the second to last number, and so on, each pair would sum to ( n + 1 ). For example, with ( n = 5 ), the pairs would be (1,5), (2,4), and (3) would remain alone. The pairs (1,5) and (2,4) each sum to 6. Since there are ( \frac{n}{2} ) such pairs if ( n ) is even (or ( \frac{n-1}{2} ) pairs plus one unpaired number if ( n ) is odd), you can multiply the sum of each pair by the number of pairs to find the total sum. This is essentially what the formula ( S_n = \frac{n(n + 1)}{2} ) is doing.
Here's a formal proof using mathematical induction:
Base Case:
For ( n = 1 ), the left side of the formula is the sum ( S_1 ), which is just 1. The right side of the formula gives ( \frac{1(1 + 1)}{2} = 1 ). Since both sides are equal, the formula holds for ( n = 1 ).
Inductive Step:
Assume that the formula holds for some natural number ( k ), i.e.,
[ S_k = \frac{k(k + 1)}{2} ]
We need to show that it also holds for ( k + 1 ), i.e.,
[ S_{k+1} = \frac{(k+1)(k + 2)}{2} ]
The sum of the first ( k+1 ) natural numbers is ( S_k + (k + 1) ) by definition. Using our inductive hypothesis, we can substitute ( S