Let $u_n$ be a sequence defined by recurrence relation as : $u_{0} =1$ and $u_n=\frac{1}{3}u_{n-1}-1$, I'm not familiar to look for the closed form of $u_n $ , I have tried to find $u_n $ with a function of $n$ but I don't succeed because it's not defined as an arithmetic progression or a geometric progression. Then, is there any simple way to get it closed form ?
Thank for any help
You have to bring you back to a geometric progression, let say $v_n:=u_n+a$, with $v_n=\frac13 v_{n-1}$, $a$ to be determined. $$v_n=\frac13 v_{n-1} \quad \Rightarrow \quad u_n+a=\frac13 (u_{n-1}+a) \tag{1}$$ so (since $u_n=\frac13 u_{n-1} -1$ (2)), it comes ( (1)- (2)) $$ a = \frac13 a+1$$ so $$ a=\frac32 $$ $u_0=1$ so $v_0=\frac52$, so (since $v_n$ is a geometric progression) $$ v_n = \frac1{3^{n-1}}\frac52$$ and you can have $u_n$ : $$ u_n= \frac1{3^{n-1}}\frac52 -\frac32$$