a(n+1)+2an=1
a(n+1)-1/3=-2an+2/3=-2(an-1/3)
所以,{an-1/3}是以a1-1/3=2/3为首项,公比是-2的等比数列.
即an-1/3=2/3*(-2)^(n-1)
an=2/3(-2)^(n-1)+1/3
a(n+1)+2an=1
a(n+1)-1/3=-2an+2/3=-2(an-1/3)
所以,{an-1/3}是以a1-1/3=2/3为首项,公比是-2的等比数列.
即an-1/3=2/3*(-2)^(n-1)
an=2/3(-2)^(n-1)+1/3