Write the value of $n$ if the sum of n terms of the series $1+3+5+7...n =n^2$.
I'm not getting the right value if I proceed with the general formula for finding sum of n terms of a arithmetic series. The general summation formula for arithmetic series is $\frac{n(2a+(n-1)d)}{2}$, where $a$ is the first term, $d$ is the common difference and $n$ is the number of terms.
Note that the sum of an arithmetic progression with $n$ terms having a starting term $a$ and common difference $d$ is: $$S_n = \frac{n}2 \left[2a + (n-1)d\right]$$ Now, if $a=1, d=2$, what do you get?
$$S_n = \frac{n}{2}\left[2+(n-1)2\right] = \frac{n}{2}\left[2n \right] = n^2$$