\[S(\alpha,\beta,n)=\frac{e^{in\beta}}{e^{i\beta}-1}n^{\alpha}+O\left(n^{\alpha-%
1}\right)+O\left(1\right),\]