Bunuel
In a sequence of four positive integers, the first three terms are in A.P and the last three terms are in G.P. If the difference between the first and last terms is 40, what is the sum of all four terms of the sequence?
A. 108
B. 124
C. 136
D. 172
E. 196
Let the terms be \(a, a+d, a+2d, b\), but b=a+40
So, the sequence = \(a, a+d, a+2d, a+40\)
We are given that last 3 terms are in GP...So, a+d, a+2d, a+40 are in GP, and that will give us \(\frac{a+40}{a+2d}=\frac{a+2d}{a+d}\).....
Let us simplify it now\((a+40)(a+d)=(a+2d)(a+2d)\).....
\(a^2+ad+40a+40d=a^2+4ad+4d^2\).....
\(40a+40d=3ad+4d^2\)......
\(40a-3ad=4d^2-40d\).....
\(a(40-3d)=4d(d-10)\)....
\(a=\frac{4d(d-10)}{40-3d}\)
Now, we are given that sequence has positive integers, so a>0, and this further tells us that \(\frac{4d(d-10)}{40-3d}>0\).
Value of a is dependent on value of d, so let us check d for the values that keep a as positive
Case I :-
when d<10, Numerator=\(4d(d-10)<0\), but denominator = \(40-3d>0\), so \(\frac{N}{D}=\frac{(-)}{(+)}=(-)\), but a>0...so NOT possible
Case II :-
At d=10, a=0..Not possible
Thus, from I and II, we get \(d>10\)
Case III :-
But denominator becomes negative when \(40<3d\) or \(d>13.33\)
So, The combined cases above give us \(10<d<13.33\) or \(d=11, 12, 13\)
Now ONLY d= 12 gives a as a positive integer and fits in the answer choices, so d=12 and \(a=\frac{4d(d-10)}{40-3d}=\frac{4*12(12-10)}{40-3*12}=\frac{4*24}{4}=24\)
# Although 13 gives you an integer value for a but does not match with the choices, when you substitute d as 13.
Sequence {a, a+d, a+2d, a+40} = { 24, 36, 48, 64}SUM = \(24+36+48+64=172\)
D