Given that f(f(f(x)))=5.
It is known that:
f(x) = x/2, if x is even and
f(x) = x+1, if x is odd.
Find the possible values of x.
Going backward through the levels
5
one step back:
10
two steps back:
20 9
three steps back:
40 19 18
so the answer is 18, 19, 40
|
Posted by Charlie
on 2024-02-23 08:27:16 |