Three positive integers: m. n and q, their average is 10, median is m+6. what is the greatest possible value of Q ?
I understand how to find the solution which I am outlying below. My question is this: when can I and when can I not assume q is the maximum of the set? The equation, median=m+6, implies among the positive integers that m is not the median and is smaller. However that leaves us with the situation the n or q could be the median.
Solution: M+N+Q = 30 Median = M+6, but since we have 3 integers and the median is the middle integer, N=M+6
Now try to solve using the smallest possible numbers for M and N.
M=1 N=(1+6) = 7 Q=30-(1+7)=22
{1,7,22} where Q = 22.