aeonsky said:
I don't think I am quite looking for that.
I need to find the sum of all odd integers between 1 and odd integer n.
Thus, if you need to find (3), the sum will be 4. (5), the sum will be 9. (7), the sum will be 16.
I found the formula (N+1)(N+1)/4 where n is the odd integer, but not the summation formula.
By the way, is it appropriate to have an expression for the top limit for summations?
What Mark44 gave you will certainly help. The sum of
all integers from 1 to n is, of course, n(n+1)/2. The sum of all
even integers from 1 to n, assuming for the moment that n is even, n= 2k, is 2+ 4+ 6+ ...+ 2k-2+ 2k= 2(1+ 2+ 3+ ...+ (k-1)+ k) and its sum is 2[k(k+1)/2)= k(k+1). The sum of all odd numbers, from 1 to 2k+1, is the sum of all integers from 1 to 2k+1, (2k+1)(2k+2)/2= (2k+1)(k+1), minus the sum of even integers from 1 to 2k: the sum of all odd integers from 1 to 2k+1 is (2k+1)(k+1)- k(k+1)= (k+1)(2k+1-k)= (k+1)
2.
Interesting result isn't it? Yes, 1+ 3= 4, 1+ 3+ 5= 9, 1+ 3+ 5+ 7= 16, etc. all squares.
Another reason why the sum of odd integers is a square:
The sum of odd numbers from 1 to 2k+1 is just an arithmetic series with "common difference" 2. An arithmetic sequence has the nice property that the average of all the numbers is just the average of the first and last numbers. Here the first and last numbers are 1 and 2k+ 1 so their average is (1+ 2k+ 1)/2= (2k+2)/2= k+ 1. There are, of course, k+1 odd numbers from 1 to 2k+1 so their sum is the average times the number of odd numbers, (k+1)(k+1)= (k+1)
2.