I want to graph a simple equation $f(x)$ which begins at $(0,1)$, then for every increasing $x$ integer increment, $f(x) = f(x-1) - (c * f(x-1))$.
So in other words each time you go up by one $x$ integer you take the previous $x$ value's $y$ output and subtract from it its value multiplied by a constant $c$.
It should output a stepwise graph with changes in $y$ value for every $x$ integer.
How do I do this in Desmos? Can you perhaps post a link to illustrate?
How would it also work differently if you wanted it to do the multiplication/subtraction every $5x$ integers to create a stepwise change for every $5x$ integers?
I don't need it to graph to $x=infinity$. Even if it can graph to $x=20$ or so this will help me solve my problem.