The correct option is C (n−1)3+n3
All the brackets are in A.P with initial term being (n−1)2+1 and the final term being n2
Number of terms in a bracket =n2−(n−1)2
=2n−1
Therefore Sum of an AP =n2(a+l)
where,
n:no of terms
a:first term
l:last term
=2n−12×((n−1)2+1+n2)
=(2n−1)(n2+1−n)
=(n−1)3+n3