In celebration of catching the spaghetti thieves, a new party is being thrown!

But the thieves have relatives who think they can do better! I wonder if they can.

So they're hiding outside listening, and they hear many guests coming, sadly, many were like them trying to get in, meaning they didn't get a lot of information:

A man and woman come along. Each is given a number. The man is given 5 and the woman is given 10. The man responds 10 and gets in. The woman said 5 and gets in.

Then two kids come along, given the numbers 3 and 9. They responded 6 and 4.5. Kid #1 gets in, but #2 is trampled on by an elephant.

Then a man comes along, he gets 5, he says he'll come back later.

What should the 2 thieves do when they go up to the door?

Table summary:

Man    5    10    Right
Woman  10   5     Right 
Kid    3    6     Right
Kid    9    4.5   Wrong
Man    5    ?     ?
  • 1
    $\begingroup$ This is a really easy one. Good thing downvotes are for bad questions, not easy ones ;D $\endgroup$ – warspyking Feb 10 '15 at 22:35
  • $\begingroup$ Why bother stealing spaghetti when there's an elephant right there for you to steal? $\endgroup$ – KSmarts Feb 10 '15 at 22:35
  • $\begingroup$ @KSmarts I know right! $\endgroup$ – warspyking Feb 10 '15 at 22:36
  • $\begingroup$ Or, you could scare the elephant into rampaging, and steal the spaghetti in the confusion. Hey, it's tagged "lateral-thinking". Does that mean that this is a valid answer? $\endgroup$ – KSmarts Feb 10 '15 at 22:38
  • 1
    $\begingroup$ I'd appreciate if puzzles like this gave a summary table of inputs and outputs, to make them easier to pick out. But then there's one where the story matters for the rule, and them not doing so would give an unintentional hint. Hmm... $\endgroup$ – xnor Feb 10 '15 at 22:52

If the number is odd, double it. If it is even, halve it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.