MathorynMathematical Formula Database

Sequences & Series

Sum of the First n Odd Numbers

The first nn odd numbers always add up to a perfect square, n2n^2, which can be seen by stacking L-shaped layers of a square. Use it as a quick way to sum odd numbers and a classic example of proof by induction.

∑k=1n(2k−1)=n2\sum_{k=1}^{n}(2k-1)=n^2
LaTeX\sum_{k=1}^{n}(2k-1)=n^2

Variables

nn
how many odd numbers

Example

Compute 1+3+5+7+9+11+131+3+5+7+9+11+13.

  1. There are n=7n=7 terms.

Answer: 4949.

Related formulas