PROVE: 0 0 0 0 = 24

4 points by vs4vijay ↗ HN
Prove 0 0 0 0 = 24 Apply any logic on the LHS, either logical, mathematical, or any other combinational logic.

Question asked by Company's HR to my Friend..

11 comments

[ 3.2 ms ] story [ 39.4 ms ] thread
(comment deleted)
Rarely have I seen a question that would cause me to leave an interview unfinished. This one would do that.
!(0^(0^(0^0))) = 24 ; if you believe 0^0 is 1 that is...
That's not true even under your assertion

    0^0 = 1
    0^(0^0) = 0^1 = 0
    0^(0^(0^0)) = 0^0 = 1
    !(0^(0^(0^0))) = 1! = 1
Well there are 24 different possible combinations - assuming the 0's are different

4 * 3 * 2 * 1 = 24

is this incorrect for me to use this as a solution?

edit:

http://news.ycombinator.com/item?id=3550753

This is what I was trying to convey - I guess he's the big winner!

Would HR be able to judge if the answer was right or wrong?
(((0!)+(0!))^((0!)+(0!)))! =(2^2)! =4! =24
(comment deleted)
Is this the actual question ("0 0 0 0 = 24") as given by HR and not something mangled by a typos or text formatting?