See how many integers you can form, starting with 1 and going through 10, by using only the digit 4 four times - no more, no less - and the multiplication, division, addition and/or subtraction signs.
Samples:
1 = 44/44
2 = 4/4 + 4/4
By adding the square-root sign, 11 through 18 are readily obtainable. So start with 3 and see how far you can go.
Originally posted by rgoudie I think that after passing 30, all mathematical symbols are acceptable.
Are also standard functions acceptable? Is it valid if I define ONE(x) as a function such that ONE(4) = 1, that could be defined with standard functions as:
Originally posted by rgoudie I'm not too sure about that [b]one function. 🙂
-Ray.
[/b]
it's only a way to say one of the other (valid, as you confirmed) three... 🙂 just substitute it with ceil (log(4)), this is the sense. Anyways, 36 was wrong, it's quite easily