Let x=2x−4x+3. Then
2x2−5x−3=0.
Therefore, x1=−21,x2=3 are the two fixed points of f(x)=2x−4x+3. Hence
an+1+21=2an−4an+3+21=2an−42(an+21),an+1−3=2an−4an+3−3=2an−4−5(an−3).
(1) ÷ (2) gives
an+1−3an+1+21=−52⋅an−3an+21.
Therefore, the sequence {an−3an+21} is a geometric sequence with the first term a1−3a1+21=−52 and common ratio −52.
Hence an−3an+21=(a1−3a1+21)(−52)n−1=(−52)n.
Therefore, an=2n+1−2(−5)n(−5)n+3×2n+1(n∈N+).