I am thinking of 3 numbers such that their mean, mode, and median are all equal to 11. What is the product of these numbers?
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.
Without clarifying that its a single mode set, its really not conclusive.
8-11-14 is a solution with 11 as a mode of the set (just not the only mode)
Log in to reply
He clarifies it's a single mode set when he says that m o d e = 1 1 ; if he said 1 1 ∈ m o d e , you'd be right, but he says equals . Your ( 8 , 1 1 , 1 4 ) solution can't be true because m o d e = 1 1 = 1 4 = 8 .
what is a tuple?
Log in to reply
A tuple is a finite list of elements; in this case, it's a list of numbers.
CHALLENGE MASTER NOTE: Too hard to understand. Python is preferred.
Log in to reply
You're absolutely right. What was I thinking?
Python 3.3:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
|
Log in to reply
Ah, now that looks so much clearer. Thanks for elucidating your solution.
Lol XD ! Brock, I want a python solution for this !
mean= just like average mode= max no of terms repeated in the sequence median= middle term of the sequence
Not mentioned the three numbers are different. So the three numbers are 11,11 and 11. Then Mean = 11; Median = 11 And Mode = 11. There fore Product of the three numbers + 11 x 11 x 11 =1331.
Yes it works for 11,11,11. But how do you know that they are the only numbers that satisfy this condition?
Refer to Brock's solution for the proper approach.
I agree with Sadasiva Panicker. The question necessarily assumes that there is either only one set of three numbers that produces a solution, or that the product is the same for all solutions. So finding the product from any solution that works is an adequate method to get this right. My reasoning was - this would work if all the numbers were 11, so I'm going to submit (11 x 11 x 11=) 1331 as the answer.
Median is the central number which is 11 then. Mode is the highest frequency. Since 11 is already a number, so, its occurrence has to be more than other numbers to be the mode. So there are more than one 11's which makes the mean different from 11 if the third number is not 11. Therefore, all the three numbers are 11.
The product is 11^3 = 1331. Please consider
Problem Loading...
Note Loading...
Set Loading...
If we know the mode is 1 1 , we know at least two of the numbers must be 1 1 . So our tuple becomes the following: ( x , 1 1 , 1 1 ) .
If we know the mean is 11, then...
3 x + 1 1 + 1 1 = 1 1 ⟹ x + 2 2 = 3 3 ⟹ x = 1 1
We now know our tuple is ( 1 1 , 1 1 , 1 1 ) ; this also satisfies the condition m e d i a n = 1 1 .
This implies the answer is 1 1 × 1 1 × 1 1 = 1 3 3 1 .