Find f(n) when n = 2k , where f satisfies the recurrence relation f(n) = f(n/2) + 1 with f(1) = 1.
Answers
Answered by
3
Given . The function f is defined using the recursive relation . Using the recursion we can write,
So we can write,
When , the above function becomes,
Thus
Similar questions