设Sn是等差数列{an}的前n项和,若S5=a8+5,S6=a7+a9-5,则公差d等于_.

问题描述:

设Sn是等差数列{an}的前n项和,若S5=a8+5,S6=a7+a9-5,则公差d等于______.

∵Sn是等差数列{an}的前n项和,
S5=a8+5,S6=a7+a9-5,

5a1+
5×4d
2
a1+7d+5
6a1+
6×5d
2
a1+6d+a1+8d−5

解得a1=-
5
2
,d=5.
故答案为:5.