Consider the multiplication of bacteria in a controlled environment. Let ar denote the number of bacteria there are on the r-th day. We denote the rate of growth on the r-th day to be ar- 2(ar- 1). If it is known that the rate of growth doubles every day, determine ar, given that a0= 1
The recurrence formed is $a_{r+1}-4a_{r}+4a_{r-1}=0$
solution is $a_{r}=c*2^r+d*r2^r$
by $a_{0}=1 \implies c=1$
but how to calculate $d$?