Possible? - Gather/Less than with an unknown variable

Kai I was thinking if you possible could get the, closest to the number with a formal or something. The problem is:

2^x<Y

Y can for the matter be any number we can in this example use 1000 so it named

2^x<1000

How can you find what maxium for "x" is?

Or is that out of the mathematic and thefore only way is to guessing (Thats what my math teacher says)

Regards Nicki (:

Re: Possible? - Gather/Less than with an unknown variable

The largest integer x such that is where is logarithm to the base 2 and is the floor function.