I am trying to find the solution for the recurrence equation using substitution :
$$tn=3\cdot t(n/2)+n\quad \text{ where } \quad t1=1/2$$
for $n >1$, $n$ a power of $2$.
I am stuck at
$$tn = 3^{\lg n} + n \cdot\sum\limits_{i=1}^{\lg n-1} \left(\frac{3}{2}\right)^{\lg n - i} $$
I checked this question, but still not able to figure out how to solve the above equation.