The sum of the first n--terms of the series 12+2⋅22+32+2⋅42+⋯ is n(n+1)22, when n is even. When n is odd, the sum is?
I got the correct answer when is replaced n→(n+1) to make above valid for odd, but when I tried the different approach then something following had happened.
For n even, last term =n which is even and term before it =n−1 which is odd. Clubbing all odds and evens separately as follows:
(12+32+⋯+(n−1)2)+2(22+42+⋯+n2)=n(n+1)22
For n odd, last term =n which is odd and term before it =n−1 which is even. Clubbing all odds and evens separately as follows:
(12+32+⋯+n2)+2(22+42+⋯+(n−1)2)
=(12+32+⋯+(n−1)2)+2(22+42+⋯+n2)−n2+(n−1)
From equation (1)
=n(n+1)22−n2+(n−1)
And answer given is: n2(n+1)2
please help.
No comments:
Post a Comment