I have the following recurrence:
$t=0: 0$
$t=1: 0$
$t=2: 1$
$t=3: \beta+\alpha$
$t=4: (\beta+\alpha)\alpha+\beta^2$
$t=5: ((\beta+\alpha)\alpha+\beta^2)\alpha+\beta^3$
...
I was hoping to do something like:
$x_{t+1}=x_{t}f_{t}+g_{t}$ with
$f_{t}=\alpha$ and $g_{t}=\beta^{t-1}$
But it does not fit with $t=0$ and $t=1$ both has to be $0$.
Is there anyway to set up this difference equation without using indicator functions or piecewiese functions for $g_{t}$?
If you expand your terms you'll find the recurrence has a fairly simple closed form (hint: multiply by $\alpha-\beta$), for which the case $t=0$ doesn't match the formula.