Here's a brief breakdown:
Let the ages be A1 < A2 < A3 < A4 < A5
Given:
Average = 20 => A1 + A2 + A3 + A4 + A5 =100
Median = 20 => A3 =20
All ages are distinct whole numbers.
A5 = A1 +16
Substitute A3 =20 and A5 = A1 +16 into the sum:
A1 +A2 +20+A4 +(A1 +16)=100
2A1 + A2 + A4 = 64
Also, we know A1 < A2 < 20 < A4 < A5
Minimum Possible Age of the Oldest Member (A5 ):
To minimize A5 , we need to minimize A1 (since A5 = A1 +16).
To minimize A1
, we need to maximize A2 and A4 in the equation 2A1 + A2 + A4 = 64.
Maximum possible A2 is 19 (since A2 < 20 and is a whole number).
Maximum possible A4 (to allow A5 to be small) would be A5 −1=(A1 +16)−1= A1 +15.
Substitute A2 =19 and A4 = A1 +15 into 2A1 + A2 + A4 =64:
2A1 +19+(A1 +15)=64
3A1 +34 = 64
3A1 =30 => A1 =10.
This gives A5 =10+16=26.
Ages: 10, 19, 20, 25, 26 (valid set).
So, the minimum possible A5 is 26.
Maximum Possible Age of the Oldest Member (A5 ):
To maximize A5 , we need to maximize A1
To maximize A1
, we need to minimize A2 and A4 in the equation 2A1 + A2 + A4 = 64.
Minimum possible A2 is A1 +1 (since A1 <A2).
Minimum possible A4 is 21 (since A4 >20).
Substitute A2 = A1 +1 and A4 =21 into 2A1 + A2 + A4 =64:
2A1 + (A1+1)+21=64
3A1 +22=64
3A1 =42 --> A1 =14.
This gives A5 =14+16=30.
Ages: 14, 15, 20, 21, 30 (valid set).
So,
the maximum possible A5 is 30.