The characteristic equation of the recurrence is 2r2−5r+3=(2r−3)(r−1)=0. Hence an=A(23)n+B. The initial values give A+B=0 and (23)A+B=21, so A=1 and B=−1.
Therefore an=(23)n−1. Summing the geometric progression gives
k=1∑100ak=[3/2−1(3/2)((3/2)100−1)]−100.
This is 3[(23)100−1]−100=3a100−100.