I have to find the complexity of a recursive function that has this form: $$T(n) =\left\{\begin{aligned} &3T((n-2)/2) + k_2n^2&&\text{ when }n > 1\\ &k_1 &&\text{ when } n = 1 \end{aligned}\right.$$ I have met $ T(n) = a*T(n/b) + n $, which resolves with Master Method, and $ T(n) = T(n-1) + n $ which resolves with iterative, but this is mixed, and I can't find a solution to it.
I have discovered that if I try it the iterative way starting from $T(n-2)$ and continuing with $ 3^k T( n/(2^k) )$, I end up with $ T(n-2) = 3^k*3T( n / (2^k2) ) + \sum_{i=0}^k( 3^i ( n /2^k - 2))$ but this leads nowhere. How can I find this solution?