# Talk:953: 1 to 10

One of correct answers is P = 1 + 1 - |sgn(10 - 1 - 1)|

(|x| is absolute value of x, sgn(x) is 1 when x > 0, 0 when x = 0, and -1 when x < 0)

If 10 = 1 + 1, then P = 10 - |sgn(0)| = 10 - |0| = 10

If 10 > 1 + 1, then P = 1 + 1 - |sgn(10 - 1 - 1)| = 1 + 1 - |1| = 1

If 10 < 1 + 1, then P = 1 + 1 - |sgn(10 - 1 - 1)| = 1 + 1 - |-1| = 1

So P is 10 iif the question was is in binary, and 1 iif it was not in binary.

93.73.186.104 16:26, 6 February 2013 (UTC)

- The absolute value is unnecessary. When is 10 ever less than 1+1?108.162.219.202 20:28, 3 January 2014 (UTC)

I don't think the explanation is right, I mean i don't know binary but i don't think the joke is that he's saying a 4 as in 100% Lackadaisical (talk) 00:23, 7 November 2013 (UTC)

- A 4 is not 100%, but a 3/4 is always 75%. 108.162.212.206 22:47, 26 January 2014 (UTC)

1.(1) is the best answer I've got Halfhat (talk) 11:53, 5 April 2014 (UTC)