If first term of an AP is 5, last term is 45 and the sum of the terms is 400, then the number of terms is in the AP is ___.
16
Here, first term (a)=5
last term (l)=45, and Sn=400 where nth term is the last term.
∵Sn=n2[a+l]
⇒400=n2(5+45)
⇒n=16
∴ Number of terms is in the AP = 16