Write the sum of first n odd natural numbers.
Here, A.P is 1,3,5…
So, a=1 and d=3-1=2
Now, sum of n term is given by,