已知an=(-2)n+1,當(dāng)n=1時,a1=-1;當(dāng)n=2時,a2=5;當(dāng)n=3時,a3=-7;…求:a1+a2+a3+a4+a5+a6的值.
解:根據(jù)題意,可得an=(-2)n+1,
當(dāng)n=1時,a1=-1;當(dāng)n=2時,a2=5;
當(dāng)n=3時,a3=-7;當(dāng)n=4時,a4=17;
當(dāng)n=5時,a5=-31;當(dāng)n=6時,a4=65;
則a1+a2+a3+a4+a5+a6=58.
答:a1+a2+a3+a4+a5+a6的值58.
分析:根據(jù)題意,由an=(-2)n+1,計算可得a1、a2、a3、a4、a5、a6的值,進(jìn)而相加可得答案.
點評:本題考查代數(shù)式的求值,注意結(jié)合代數(shù)式,代入數(shù)值,進(jìn)行準(zhǔn)確的計算.