Thursday, December 20, 2018

password - The Security to the Party [X]


A party is being held at a local mansion. The host is very rich and his success is because of one thing — his famous recipe for spaghetti!


The only guests that may attend are people who correctly reply to the guard at the door.


Here's where you come in. You and a friend are trying to steal this recipe. You sneak by and listen to the passwords.


The first guest arrives. The security says "2", and the guest replies "2".


The second guest arrives. The security says "4", the guest replies "4".


Your friend thinks he's got it all figured out (again), so he walks up to the door and the security says "6". He replies "6", and is trampled to death by elephants.



Another guest arrives, security says "3" and the guest replies "2" to get in.


You walk up and get a "5" from security. What is your response?




The correct answer has already been given, but the method hasn't been guessed. So here's a hint: $$ \begin{array}{c|c} \text{challenge}&\text{response} \\ \hline 1&0 \\ 2&2 \\ 3&2 \\ 4&4 \\ 5&4 \\ 6&4 \\ \end{array} $$




And here is another hint: "Petals Around the Rose" (although it's not that).



Answer




It's the number of pips in the corners of that face of a standard six-sided die.




No comments:

Post a Comment

classical mechanics - Moment of a force about a given axis (Torque) - Scalar or vectorial?

I am studying Statics and saw that: The moment of a force about a given axis (or Torque) is defined by the equation: $M_X = (\vec r \times \...