设数列{an}满足a1=2,a2+a4=8,且对任意n∈N*,函数f(x)=(an-an+1+an+2)x+an+1cos x-an+2sin x满足f′=0.
(1)求数列{an}的通项公式;
(2)若bn=2,求数列{bn}的前n项和Sn.
相关知识点
推荐套卷
设数列{an}满足a1=2,a2+a4=8,且对任意n∈N*,函数f(x)=(an-an+1+an+2)x+an+1cos x-an+2sin x满足f′=0.
(1)求数列{an}的通项公式;
(2)若bn=2,求数列{bn}的前n项和Sn.