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
Last 3 terms are in GP...So, \(\frac{a+40}{a+2d}=\frac{a+2d}{a+d}.........(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, a>0, so \(\frac{4d(d-10)}{40-3d}>0\)
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
II)
At d=10, a=0..Not possible
Thus d>10III)
But denominator becomes negative when \(40<3d\) or \(d>13.33\)
So, \(10<d<13.33\) or \(d=11, 12, 13\)
Now ONLY d= 12 gives a as a positive integer, so d=12 and \(a=\frac{4d(d-10)}{40-3d}=\frac{4*12(12-10)}{40-3*12}=\frac{4*24}{4}=24\)
Sequence {a, a+d, a+2d, a+40} = { 24, 36, 48, 64}
SUM = 24+36+48+64=172
D
For d = 13, a is also a positive integer because denominator of a becomes 40-3(d) = 40 - 3 (13) = 40 - 39 = 1
So, d = 13 is also a possibility. Of course, if we consider d = 13 then the sum of the numbers will be greater than the answer choices. But you mentioned that d = 12 is the ONLY value for which a is an integer. That's not true!