I know how to solve recursive formulas when the T(n) term is a whole number. However, when it isn't, I have no idea what to do. Can someone explain this to me with regards to solving this problem?
Solve the following recursive formula.
Try to find the exact solution. If you cannot use, Big Oh, Omega or Theta notations.
n>=1 is a power of 2 integer.
T(1)=0
T(n)=2T(n/2)+n
I have tried the following thus far.
I know that
T(2) = 2T(1) + 2 =2
T(4) = 2T(2) + 4 =8
However, I don't know what to do about
T(3) = 2T(3/2) + 3
I don't understand how you can have a 1.5th term T(3/2). Can someone please help me to understand and solve this? Thanks
we get $$T(n)=T \left( 1 \right) n+{\frac {n\ln \left( n \right) }{\ln \left( 2 \right) }} $$ for all $n \in \mathbb{N}$