Let an be the nth term of the series 5 + 8 + 14 + 23 + 35 + 50 + ... and Sn=∑k=1nak. Then S30-a40 is equal to [2023]
(2)
Let S=5+8+14+23+35+50+…+an
S=5+8+14+23+…+an-1+an
Subtracting the above two equations, we get
0=5+3+6+9+… up to (n-1) terms -an
⇒an=5+(n-12)[6+(n-2)×3]
=5+3n(n-1)2=12(3n2-3n+10)
Now, Sn=∑k=1nak=12∑k=1n(3n2-3n+10)
=12[3n(n+1)(2n+1)6-3n(n+1)2+10n]
=12[n(n+1)(2n+1)2-3n(n+1)2+20n2]
=12[2n3+3n2+n-3n2-3n+20n2]
=12[2n3+18n2]=12n(n2+9)
Now, S30-a40=12×30(302+9)-12(3×402-3×40+10)
=13635-2345=11290