The correct option is B 525
Odd numbers between 20 and 50 are 21, 23, 25, … 49.
They form an AP with first term (a) = 21 and common difference (d) = 2.
an=a+(n–1)d
⇒49=21+(n–1)2
⇒49−212=n−1
⇒14+1=n
⇒n=15
Thus, there are 15 odd numbers in between 20 and 50
Now, S15=152{2×21+(15−1)×2} (As Sn=n2{2a+(n−1)d})
⇒S15=15(21+14)
⇒S15=15×35
⇒S15=525
Therefore, the sum of all odd numbers lying between 20 and 50 is 525.
Hence, the correct answer is option (2).