Calculation of a strange series
Solution 1:
Perform a partial fraction decomposition: $$ \frac{1}{p(k)} = \frac{1}{1+k+\cdots+k^{n-1}} = \frac{1}{ \prod_{m=1}^{n-1}\left(k-\exp\left(i \frac{2 \pi}{n} m \right)\right)} = \sum_{m=1}^{n-1} \frac{1}{k-\exp\left(i \frac{2 \pi}{n} m \right)} \frac{1}{p^\prime\left(\exp\left(i \frac{2 \pi}{n} m \right)\right)} $$ Now: $$ p^\prime\left(z\right) = \sum_{m=1}^{n-1} m z^{m-1} = \frac{\mathrm{d}}{\mathrm{d}z} \sum_{m=0}^{n-1} z^{m} = \frac{\mathrm{d}}{\mathrm{d}z} \frac{1-z^n}{1-z} = \frac{z-z^n (n-z(n-1))}{z (1-z)^2} $$ Therefore, using $z^n=1$ for $z=\exp\left(i \frac{2 \pi}{n} m \right)$: $$ c_m := \frac{1}{p^\prime\left(\exp\left(i \frac{2 \pi}{n} m \right)\right)} = \frac{1}{n} \exp\left(i \frac{2 \pi}{n} m \right) \left( \exp\left(i \frac{2 \pi}{n} m \right) - 1 \right) = \frac{1}{n} \exp\left(i \frac{2 \pi}{n} m \right) \left( \exp\left(i \frac{2 \pi}{n} m \right) - 1 \right) $$ We thus have, and using $\sum_{m=1}^{n-1} c_m = 0$: $$ \begin{eqnarray} \sum_{k=0}^\infty \frac{1}{p(k)} &=& \sum_{k=0}^\infty \sum_{m=1}^{n-1} \frac{c_m}{k-\exp\left(i \frac{2 \pi}{n} m \right)} = \sum_{k=0}^\infty \sum_{m=1}^{n-1} c_m \left(\frac{1}{k-\exp\left(i \frac{2 \pi}{n} m \right)} - \frac{1}{k+1}\right) \\ &=& -\sum_{m=1}^{n-1} c_m \sum_{k=0}^\infty \left(\frac{1}{k+1} - \frac{1}{k-\exp\left(i \frac{2 \pi}{n} m \right)}\right) \\ &=& -\sum_{m=1}^{n-1} c_m \left( \gamma + \psi\left(-\exp\left(i \frac{2 \pi}{n} m \right)\right)\right) \end{eqnarray} $$ Again, making use of $\sum_{m=1}^{n-1} c_m = 0$ we arrive at: $$ \sum_{k=0}^\infty \frac{1}{1+k+\cdots+k^{n-1}} = \sum_{m=1}^{n-1} \frac{1}{n} \exp\left(i \frac{2 \pi}{n} m \right) \left(1- \exp\left(i \frac{2 \pi}{n} m \right) \right) \cdot \psi\left(-\exp\left(i \frac{2 \pi}{n} m \right)\right) $$ where $\psi(x)$ denotes the digamma function.
Solution 2:
Let $T(N) = S(N-1)$. Then
$$ \begin{align*}T(n) &= 1 + \frac{1}{n} + \sum_{k=2}^{\infty} \frac{1}{k^{n-1}+k^{n-2}+\cdots+k+1} \\ &= 1 + \frac{1}{n} + \sum_{k=2}^{\infty} \frac{k - 1}{k^n - 1} \\ &= 1 + \frac{1}{n} + \sum_{k=2}^{\infty} \frac{1}{n} \sum_{l=1}^{n-1} \frac{\omega_l (\omega_l - 1)}{k - \omega_l} \\ &= 1 + \frac{1}{n} + \sum_{k=0}^{\infty} \frac{1}{n} \sum_{l=1}^{n-1} \frac{\omega_l (\omega_l - 1)}{k + 2 - \omega_l}, \end{align*}$$
where $\omega_l = \exp\left(\tfrac{2\pi l i}{n}\right)$. Since
$$ \frac{1}{n} \sum_{l=0}^{n-1} \omega_l (\omega_l - 1) = 0, $$
we may write
$$ \begin{align*}T(n) &= 1 + \frac{1}{n} + \sum_{k=0}^{\infty} \frac{1}{n} \sum_{l=1}^{n-1} \omega_l (\omega_l - 1) \left( \frac{1}{k + 2 - \omega_l} - \frac{1}{k+1} \right) \\ &= 1 + \frac{1}{n} + \frac{1}{n} \sum_{l=1}^{n-1} \omega_l (\omega_l - 1) \sum_{k=0}^{\infty} \left( \frac{1}{k + 2 - \omega_l} - \frac{1}{k+1} \right) \\ &= 1 + \frac{1}{n} - \frac{1}{n} \sum_{l=1}^{n-1} \omega_l (\omega_l - 1) \left( \gamma + \psi_0 (2 - \omega_l) \right) \\ &= 1 + \frac{1}{n} - \frac{1}{n} \sum_{l=1}^{n-1} \omega_l (\omega_l - 1) \psi_0 (2 - \omega_l). \end{align*}$$