We have five observations 9,25,a,b,c with a<b<c and a,b,c∈N. Since the mean is 18,
59+25+a+b+c=18⟹a+b+c=56(i)
The mean deviation about the mean is 4, so
5∣9−18∣+∣25−18∣+∣a−18∣+∣b−18∣+∣c−18∣=4.
Evaluating the known terms gives
9+7+∣a−18∣+∣b−18∣+∣c−18∣=20⟹∣a−18∣+∣b−18∣+∣c−18∣=4(ii)
The variance is 5136, hence
5(9−18)2+(25−18)2+(a−18)2+(b−18)2+(c−18)2=5136.
Since (9−18)2+(25−18)2=81+49=130, it follows that
130+(a−18)2+(b−18)2+(c−18)2=136⟹(a−18)2+(b−18)2+(c−18)2=6(iii)
Let p=a−18,q=b−18,r=c−18. Then from (i), (ii), (iii) we get
p+q+r=56−54=2,∣p∣+∣q∣+∣r∣=4,p2+q2+r2=6.
Because p+q+r=2 and ∣p∣+∣q∣+∣r∣=4, the total negative contribution is 24−2=1, so exactly one of p,q,r equals −1 and the other two are positive summing to 3. Substituting one variable as −1 in the sum of squares gives
1+q2+r2=6⟹q2+r2=5,q+r=3.
Writing r=3−q yields
q2+(3−q)2=5⟹2q2−6q+9=5⟹q2−3q+2=0⟹q=1 or 2.
Thus (p,q,r)=(−1,1,2) or (−1,2,1). The ordering $a
a=17,b=19,c=20.
Finally,
2a+b−c=2(17)+19−20=33.
The answer is 33.