Hi all , I figure this is an inteersting (yet monster in mine opinion) question: Ralph likes 25 but not 24; he likes 400 yet not 300; the likes 144 but not 145. Which does that like: a)10 b)50 c)124 d)200 e)1600 any type of ideas ?


You are watching: Ralph likes 25 but not 24; he likes 400 but not 300; he likes 144 but not 145. which does he like

posted 9 years ago
*
*

lowercase baba
*

*
*
*

posted 9 year ago

There are just two hard things in computer system science: cache invalidation, naming things, and off-by-one errors


Ryan, much like Ralph, likes 25 yet not 24, and also he likes 144 yet not 145. However, unlike his friend Ralph, Ryan likes 300 but not 400. Which one (and only one) of the following does that like? a) 37 b) 64 c) 200 d) 1024 e) 65535 (...and why?)
This reasoning might be non feeling . Even though would prefer to give a shot : right here is my observation : Lets think about 1 to 10* Ralphs like: 25 => 2+5 = 7 weird number 144 => 1+4+4 = 9 strange number 300 => 3+0+0 = 3 odd number Ralph"s dislike: 24 => 2+4 = 6 also 145 = > 1+4+5 = 10 also 400 => 4+0+0 = 4 even Options: 37 => 3+7 = 10 even 64 => 6+4 = 10 even 200 => 2+0+0 = 2 also 1024 => 1+0+2+4 = 7 weird 65535 => 6+5+5+3+5 => 11+8+5 => 19+5 => 2+4 => 6 even So mine guess would certainly be 1024 .
Given the info presented for this reason far, that seems like a perfectly reasonable explanation, Seetharaman. You also came up with the correct answer (where "correct" is characterized as "what i was thinking"), but for a various reason. We currently know the 25, 144, 300 and also 1024 space "likable" however 24, 145, 400, 37, 64, 200 and also 65535 space "unlikable". However, I"m going to declare the 8889 is likable when 97 unlikable. How deserve to that maybe be?
My take is that Ryan likes numbers whereby the difference of sum of the alternative digits is odd. below is my reasonable - Ryan"s likes: 25 => 5 – 2 = 3Odd 144 => (1+4) – 4 = 1Odd 300 => (3+0) – 0 = 3Odd Ryan"s dislikes: 24 => 4 – 2 = 2Even 145 => (1+5) – 4 = 2Even 400 => (4+0) – 0 = 4Even Also, as currently declared, 8889 => (8+9) – (8+8) = 1Odd 97 => 9 -7 = 2Even So offered all the above, the available options are: 37 => 7 – 3 = 4Even 64 => 6 – 4 = 2Even 200 => (2+0) – 0 = 2Even 1024 => (4+0) – (1+2) = 1Odd 65535 => (6+5+5) – (3+5) = 8Even That leaves 1024 as the just option

Anubrato Roy wrote:My take is the Ryan likes numbers wherein the difference of sum of the alternating digits is odd.

I would say the qualifies as "humorously correct". Yes, i do indeed like 1024. Also, the preeminence you stated will correctly identify numbers I favor versus the ones i don"t like. However, the statement of the preeminence is more complex than the one I had in mind. If we recognize that the difference in between two number is either even or odd, what deserve to we say around the sum of those very same numbers? If two numbers have an also sum, how even numbers did we start with? How numerous odd? (Addition is associative and also commutative.) Is over there a simpler ascendancy that is tantamount to the "odd difference of sums of alternate digits" one given above?
Hi Ryan, It was amusing to realize that i have declared the rule in a complex manner. acquisition your hint, if the distinction of 2 numbers is odd, then one of them is even and the various other odd - which suggests that their amount is likewise odd. That an unified with my reasonable simply means that the sum of every the number in the number must be odd. So right here is the revised version - You favor numbers wherein the sum of number of the numbers is Odd
. That renders me realize the this is almost identical come Seetharaman"s logic, other than that i stop only at the an initial pass the summing increase the digits; and not summing increase the digits of the amount itself. Regards, Anubrato


See more: Is Krypton A Metal Nonmetal Or Metalloid ? Is Krypton A Metal Non Metal Or Metalloid

Anubrato Roy wrote: So below is the revised variation - You prefer numbers where the amount of digits of the numbers is Odd.

together it turns out, that"s correct and also now being reasonably succinct. What ns really like about the "likable" number is the they have an odd variety of odd digits. ...which turns out come be tantamount to liking numbers whereby the amount of digits is odd.