Give every value except the one you want, or write the letter with a question mark, for example n=7 or S=100. Every answer is checked by putting it back into the formula.
S = n 2
S : sum of the first n odd numbers n : how many odd numbers are added
On this page
Before you start
This page is easier if you are comfortable with:
odd numbers: 1, 3, 5, 7, ... squaring a number square roots
What Sum of the first n odd numbers means
1 + 3 = 4, 1 + 3 + 5 = 9, 1 + 3 + 5 + 7 = 16. The totals are the square numbers. Each new odd number adds a border of dots to a growing square.
It also follows from the arithmetic series formula with a = 1 and d = 2 : S = 2 n ( 2 + 2 ( n − 1 )) = n 2 .
So the sum of the first n odd numbers is n 2 , and to find n from a total you take the square root. The total is always a square number , the triangular partner is triangular numbers , and the rule comes from an arithmetic series. A closely connected idea is Recurrence relation .
This page is part of Sequences in Algebra . Topics that work alongside it: Arithmetic series , Square number , Triangular numbers , Fibonacci-type sequences , Gradient of ax + by = c and Linear nth term in the form dn + k .
What is it used for? The sum of the first n odd numbers is always n². This gives a fast way to add odd numbers and links number patterns to square numbers.
Adding a run of odd numbers such as 1 + 3 + 5 + … without adding them one by one. Showing a number pattern and a proof side by side, as in algebraic proof questions. Seeing why square numbers grow by 3, 5, 7, 9, … each time.
How to use the sum of the first n odd numbers formula
Count how many odd numbers there are, n . Square n . To find n from the sum, take the square root. Check the result by adding a few terms.
Graph Running total of odd numbers (1, 4, 9, 16, …) 0 1 2 3 4 5 6 7 0 10 20 30 40 50 Running total of odd numbers (1, 4, 9, 16, …) n sum Graph with x from 0 to 7 and y from 0 to 52. Shows n² (6); the curve y = x^2. The running totals 1, 4, 9, 16, 25, 36 sit exactly on the curve y = n².
Worked examples
Each example below was worked out by the solver on this page and checked by substituting the answer back into the formula.
Example 1: find the sum Find the sum of the first 7 odd numbers.
Try this in the solver: n=7
Sum of the first n odd numbers Answer checked
The formula
Sum of the first n odd numbers. In this formula S is the sum of the first n odd numbers, n is the how many odd numbers are added.
S = n 2
What we know and what we want
We know n = 7 and we want to find S , the sum of the first n odd numbers.
Substitute the numbers
S = 7 2
Calculate
S = 49
Check by substituting back
Put all the values back into the original formula: both sides should match.
49 = 7 2 ✓
Example 2: find how many How many odd numbers, starting from 1, add up to 100?
Try this in the solver: S=100
Sum of the first n odd numbers Answer checked
The formula
Sum of the first n odd numbers. In this formula S is the sum of the first n odd numbers, n is the how many odd numbers are added.
S = n 2
What we know and what we want
We know S = 100 and we want to find n , the how many odd numbers are added.
Rearrange for n
Take the square root of both sides.
Substitute the numbers
Calculate
n = 10
Check by substituting back
Put all the values back into the original formula: both sides should match.
100 = 1 0 2 ✓
Example 3: a larger sum Find the sum of the first 15 odd numbers.
Try this in the solver: n=15
Sum of the first n odd numbers Answer checked
The formula
Sum of the first n odd numbers. In this formula S is the sum of the first n odd numbers, n is the how many odd numbers are added.
S = n 2
What we know and what we want
We know n = 15 and we want to find S , the sum of the first n odd numbers.
Substitute the numbers
S = 1 5 2
Calculate
S = 225
Check by substituting back
Put all the values back into the original formula: both sides should match.
225 = 1 5 2 ✓
Special cases
A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.
Small cases 1 + 3 + 5 + 7 = 16 = 4²
The pattern is S = n².
The sum n = 7: S = 49
Square n.
How many S = 100: n = 10
Take the square root.
A larger sum n = 15: S = 225
Square n.
Sums of odd numbers n Numbers Sum 1 1 1 2 1 + 3 4 3 1 + 3 + 5 9 4 1 + 3 + 5 + 7 16
Word problems
The sum of the first n odd numbers is n². It is a special case of the arithmetic series formula.
The sum Find the sum of the first 7 odd numbers.
Square n S = 7² = 49 Check: 1 + 3 + 5 + 7 + 9 + 11 + 13 = 49 ✓ S = 49.
How many The first n odd numbers add to 100. Find n.
Square root n = √100 = 10 Check: 10² = 100 ✓ n = 10.
A larger sum Higher Find the sum of the first 15 odd numbers.
Square n S = 15² = 225 Check: the 15th odd number is 29 and 15 × (1 + 29) ÷ 2 = 225 ✓ S = 225.
Up to 39 Higher Find 1 + 3 + 5 + ... + 39.
Count the terms n = (39 + 1) ÷ 2 = 20 Square S = 20² = 400 Check: 20 × (1 + 39) ÷ 2 = 400 ✓ The sum is 400.
Common mistakes
Doubling n S = 2 × 7 = 14 ✗
S = 7² = 49 ✓
Square n.
Using the triangular formula S = 7 × 8 ÷ 2 = 28 ✗
S = 49 ✓
That adds 1, 2, 3, ..., not odd numbers.
Using the last number as n 1 to 39: S = 39² = 1521 ✗
n = 20, so S = 400 ✓
n counts the terms.
Halving instead of the square root n = 100 ÷ 2 = 50 ✗
n = √100 = 10 ✓
Undo squaring with a square root.
Exam tips
S = n².
Count the terms before squaring.
n = (last + 1) ÷ 2.
Square root to find n.
Check with a few terms.
Practice questions
Try each one on paper, then open the answer. Use the solver above to see the full working.
1. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 6. Foundation S = 36
2. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher n = 2
3. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 12. Foundation S = 144
4. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher n = 2
5. Use the formula to find the sum of the first n odd numbers (S) when how many odd numbers are added (n) = 10. Foundation S = 100
6. Find the how many odd numbers are added (n) when sum of the first n odd numbers (S) = 4. Higher n = 2
Practice generator Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.
Foundation Higher Mixed New question
Solve: …
The practice generator needs JavaScript.
Key terms
Odd number A whole number not divisible by 2. Square number A number multiplied by itself. Sum The total of the terms. Term One of the numbers added. Series A sum of terms. Square root Undoes squaring.
Frequently asked questions
What is the sum of the first n odd numbers? S = n².
Why is it a square? Each new odd number adds an L-shaped layer to a square.
What is the sum of the first 10 odd numbers? 100.
How do I find n from the sum? Take the square root of S.
How does it relate to arithmetic series? It is the case a = 1, d = 2. See arithmetic series.
What are square numbers? See square numbers.