I am preparing for my CS exams first year, I need help in understanding the below solution for given $$ T(n)= \begin{cases} 3T(n-1),& \mbox{if }n>0\\ 1,& \mbox{otherwise} \end{cases} $$ equation.
solution: $$T(n) = 3T(n-1)$$ $$T(n) = 3 ( 3T(n-2)) = 3^2T(n-2)$$ $$T(n)= 3^2(3T(n-3))$$ how are we getting this $(n-3)$ from $(n-2)?$