Question 17 In an AP, if a = 1, an=20 andSn = 399, then n is equal to :
A) 19 B) 21 C) 38 D) 42
Open in App
Solution
The sum up to n terms of an A.P is given by, Sn=n2[2a+(n−1)d] ⇒399=n2[2×1+(n−1)d] ⇒798=2n+n(n−1)d...(i) andan=20 ⇒a+(n−1)d=20...(ii)[∵an=a+(n−1)d] Using eq.(ii) in eq.(i), we get, 798 = 2n + 19n ⇒ 798 = 21n ∴n=79821=38