CONTEXT: Uni question made up by lecturer
If you have to take a $100$mg drug every $8$ hours, and just before you take the drug, $20$% of it remains in your body, how would you write an explicit formula for this?
I've worked out that the recursive formula would be for integers $n\ge0$ where $Q_0=100$, I have $Q_{n+1}=0.2Q_n+100$ where $Q_n$ is the quantity of the drug in the body just after the $n$th dose is taken.
My lecturer gave us a hint saying the solution involves geometric series, but I'm not sure how this can be the case since the recursive definition I've developed involves an added constant of $100$.
The explicit definition is then to be used to find the quantity of the drug remaining in the body in the long run (which would just be what the series converges to).
Imagine building it up iteratively, generally factoring out $100$ whenever possible: you should get,
Then visibly, in general,
$$Q_n = 100 \sum_{k=0}^{n-1} 0.2^k$$
This can be simplified with the formula for a finite geometric series.