The number of terms in successive groups are 1,3,5,______ and hence in nth group will be nth term of this A.P. i.e., 2n−1=N
The last term of successive groups are 12,22,32,... and hence of nth group is n2 and of (n−1)th group is (n−1)2. Hence 1st term of nth group is one more than the last term of (n−1)th group
∴A=(n−1)2+1=n2−2n+2
Also terms in each group are in A.P. whose D=1.
∴ Sum of terms in nth group is sum of an A.P.
=N2[2A+(N−1)D]
=2n−12[2n2−4n+4+(2n−2)⋅1]
=(2n−1)(n2−n+1)
=2n3−3n2+3n−1=n3+(n−1)3.