IBM Research

PUZZLE   IBM-141

Make a 5 from 2 and 2

IBM Research · Ponder This · 2010-01

IBM Ponder This #141 · January 2010

Present a computation whose result is 5, being a composition of commonly used mathematical functions and field operators (anything from simple addition to hyperbolic arc-tangent functions will do), but using only two constants, both of them 2.

It is too easy to do it using round, floor, or ceiling functions, so we do not allow them.

Update 1/11: You can only use 2 instances of the constant 2, so solutions like (2+2+2/2) is illegal. You can not use variables so (x+x+x+x+x)/x is not allowed. You can use square root and power, but squaring will cost you one "2" and other constant powers are not allowed.

Solution

Best opened after a real attempt

To be added.