\[\sum_{k=0}^{m-1}(-1)^{k}(a+dk)^{n}={\frac{d^{n}}{2}\left((-1)^{m-1}E_{n}\left(%
m+\frac{a}{d}\right)+E_{n}\left(\frac{a}{d}\right)\right)}.\]