已知数列{an}的前n项和为Sn,且a1+a5=17.一若{an}为等差数列,且S8=56,①求该等差数列的公差d