If known as :
f(1) = 1;
f(3) = 11;
f(5) = 101;
f(16) = 10000; and
f(28) = x;
So what is
y
if
y
=
(x mod 28) + f((x mod 27)-1)
?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
This problem is about binary equation so f(X) = to change X from base 10 to base 2.. in the question x = f(28). so we change 28 into base 2 and we got 11100. -> f(28) = 11100 = x. so we can get y = (11100 mod 28) + f((x mod 27) - 1) = 12 + f(3-1) = 12 + 10 = the answer -> y = 22