form an Arithmmetic Progression with first term (a) 1 and common difference (d) 2.
Sum=n/2[2a+(n-1)d]
=n/2[2+(n-1)2]
=n2