Three distinct positive integers less than or equal to 15 are chosen. The probability that the mean of these numbers is equal to the median can be expressed as b a where a and b are coprime positive integers. What is the value of a + b ?
Details and assumptions
The
mean
of a set of numbers is the average of the set.
The
median
of a set of numbers is the middle value, which divides the list into two equal halves. If there is an even number of them, the median will be the mean of the two middle values.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Great approach of recognizing that the first and last numbers must have the same parity, which makes it quick to count the number of such triplets, and easily generalizes to larger values.
"The sum of x and y shall then be even, happening when x & y are both even or both odd". Do you mean the sum of x and z shall then be even?
But overall 2 thumbs for the explanation. Thx...
Suppose that the three integers are x , y , z , and further suppose that 0 < x < y < z ≤ 1 5 . Clearly, there are ( 3 1 5 ) = 3 ⋅ 2 1 5 ⋅ 1 4 ⋅ 1 3 = 5 ⋅ 7 ⋅ 1 3 ways to choose x , y , z . We want the mean to equal the median. That is, we want 3 x + y + z = 3 y to be satisfied. This is equivalent to x + y + z = 3 y , or x + z = 2 y .
If y = 1 , then there are no ( x , z ) that meet all the conditions. If y = 2 , then the possible ( x , z ) is ( 1 , 3 ) . Note that for each y up to y = 8 , there will be y − 1 pairs of ( x , z ) that satisfy the conditions: ( 1 , 2 y − 1 ) , ( 2 , 2 y − 2 ) , ⋯ , ( y − 1 , y + 1 ) . For y > 8 , these cases are equivalent to the cases symmetric about y = 8 . That is, y = 9 is the same as y = 7 , y = 1 0 is the same as y = 6 , and so forth up to y = 1 5 is the same as y = 1 (try it and see for yourself if this isn't clear). Thus, the total number of ways for the conditions to be satisfied is 2 ( 1 + 2 + 3 + 4 + 5 + 6 ) + 7 = 2 ( 2 1 ) + 7 = 4 9 .
The probability that the conditions are satisfied is 5 ⋅ 7 ⋅ 1 3 4 9 = 6 5 7 , and the desired answer is 7 + 6 5 = 7 2 .
Problem Loading...
Note Loading...
Set Loading...
Let x, y & z be the three positive numbers chosen such x>y>z.
It is obvious therefore that y shall be the median.
Making y also as the mean of the other two leads us to the equation
(x+z)/2=y or x+z=2y.
The sum of x and z shall then be even, happening when x & z are both even or both odd.
Thus, the number of ways shall be:
both even: 7C2 (the numbers 2, 4, 6, 8, 10, 12, & 14 taken two at a time); and
both odd: 8C2 (the numbers 1, 3, 5, 7, 9, 11, 13, & 15 taken two at a time).
=> 7C2 + 8C2 = 21 + 28 = 49.
The total number of ways of choosing three distinct positive integers is 15C3 = 455.
Therefore, the probability shall be a/b = 49/455 = 7/65. a+b=72 :)