若數(shù)列{an}滿足:a1=m1,a2=m2,an+2=pan+1+qan(p,q是常數(shù)),則稱(chēng)數(shù)列{an}為二階線性遞推數(shù)列,且定義方程x2=px+q為數(shù)列{an}的特征方程,方程的根稱(chēng)為特征根; 數(shù)列{an}的通項(xiàng)公式an均可用特征根求得:
①若方程x2=px+q有兩相異實(shí)根α,β,則數(shù)列通項(xiàng)可以寫(xiě)成an=c1αn+c2βn,(其中c1,c2是待定常數(shù));
②若方程x2=px+q有兩相同實(shí)根α,則數(shù)列通項(xiàng)可以寫(xiě)成an=(c1+nc2)αn,(其中c1,c2是待定常數(shù));
再利用a1=m1,a2=m2,可求得c1,c2,進(jìn)而求得an.根據(jù)上述結(jié)論求下列問(wèn)題:
(1)當(dāng)a1=5,a2=13,an+2=5an+1-6an(n∈N*)時(shí),求數(shù)列{an}的通項(xiàng)公式;
(2)當(dāng)a1=1,a2=11,an+2=2an+1+3an+4(n∈N*)時(shí),求數(shù)列{an}的通項(xiàng)公式;
(3)當(dāng)a1=1,a2=1,an+2=an+1+an(n∈N*)時(shí),記Sn=a1Cn1+a2Cn2+…+anCnn,若Sn能被數(shù)8整除,求所有滿足條件的正整數(shù)n的取值集合.