$$f(1) = 1 : f(n)=f(n-1)+f(\lceil n/2\rceil)+1$$ What is the computational complexity of this recursive function? I have not been able to find anyone explaining a function like it in my searching, and I'm completely stuck as to what to do with it.
It seems like it should be exponential, but if you try to substitute that you get
$$2^{n-1}+2^{n/2}+1<2^n$$
But it also must be greater than polynomial, since
$$(n/2)^k+(n-1)^k=n^k/2^k+n^k-{k \choose 2}n^{k-1}+{k \choose 3}n^{k-2}-{k \choose 4}n^{k-3}...>n^k$$
Edit: I am NOT asking for you to redefine the function so that it can be calculated more efficiently, I already know that can be done in linear time. I am asking what the complexity of the function as written is. You can't take the recursive function and redefine it in a non-recursive way because that changes its complexity.
If I had told you the function was $f(x)=2f(x-1)$ I'm sure you'd have happily jumped at the chance to tell me it's exponential, you wouldn't say it's constant because it can be calculated using a single bitshift operation. Some examples.