Let be a positive integer .Find the sum of all the odd numbers from to inclusive.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
We note that both m 2 − m + 1 and m 2 + m − 1 are odd numbers, with m 2 − m + 1 < m 2 + m − 1 for m ∈ N . The sequence of odd numbers from m 2 − m + 1 to m 2 + m − 1 is an arithmetic progression with the first term a = m 2 − m + 1 , common difference d = 2 and last term l = m 2 + m − 1 .
Therefore, the number of terms is
n = 2 l − a + 1 = 2 m 2 + m − 1 − ( m 2 − m + 1 ) + 1 = 2 2 m − 2 + 1 = m
The sum of all odd numbers is
S = 2 n ( a + l ) = 2 m ( m 2 + m − 1 + m 2 − m + 1 ) = 2 2 m 3 = m 3