Assume that growth in a bacterial population has the following properties:
- At the beginning of every hour, two new bacteria are formed for each bacteria that lived in the previous hour.
- During the hour, all bacteria that have lived for two hours die.
- At the beginning of the first hour, the population consists of 100 bacteria.
Derive a recurrence relation for the number of bacteria.
I know that if the bacteria wouldn't die $A_{n} = 2A_{n - 1}$, but now I have no idea what to do.