When I tried solve it I had found just answer "No". I spoke with some people but I cannot understand why the answer is exactly it...
Frankly speaking, this function haunts me:
$f(x) = abs((abs(x) - floor_2(abs(x))) / floor_2(abs(x)) - 0.5)$
abs - absolute value of a number
or the same: $$f(x) = |\frac{|x| - floor_2(|x|)}{floor_2(|x|)} - \frac{1}{2}|$$
$floor_2$ - function which returns maximize number which equals power of two (2^), and which less parameter number. Sorry, I can't come up simpler. I hope with examples will be simpler:
$floor_2(4)=4=2^2; floor_2(5)=4=2^2; floor_2(7)=4=2^2; floor_2(9)=8=2^3; floor_2(157)=128=2^7; floor_2(1234)=1024=2^{10}; floor_2(0.6)=0.5=2^{-1}; floor_2(0.123)=0.0625=2^{-4}; floor_2(1/3)=0.25=2^{-2}$
Also for the best understanding I specify results of function $f(x)$: (for the best understanding I executed nested "abs")
$$f(6)=|\frac{6-4}{4}-\frac{1}{2}|=0\\ f(12)=|\frac{12-8}{8}-\frac{1}{2}|=0\\ f(-12)=|\frac{12-8}{8}-\frac{1}{2}|=0$$
$$f(7)=|\frac{7-4}{4}-\frac{1}{2}|=\frac{1}{4}\\ f(14)=|\frac{14-8}{8}-\frac{1}{2}|=\frac{1}{4}\\ f(5)=|\frac{5-4}{4}-\frac{1}{2}|=\frac{1}{4}\\ f(10)=|\frac{10-8}{8}-\frac{1}{2}|=\frac{1}{4}$$
$$f(\frac{1}{3})=|\frac{1/3-1/4}{1/4}-\frac{1}{2}|=\frac{1}{6}\\ f(\frac{2}{3})=|\frac{2/3-1/2}{1/2}-\frac{1}{2})=\frac{1}{6}$$
Could you help me to understand why this function cannot be answer? Or maybe function exists...