Suppose $f(n)$ is a periodic function with period $q$. Now from [this paper](http://www.sciencedirect.com/science/article/pii/S0022314X06002927) we get that if $\displaystyle\sum\_{n=1}^{q}f(n)=0$ then $\displaystyle\sum\_{n=1}^{\infty}\frac{f(n)}{n}=-\frac{1}{q}\displaystyle\sum\_{a=1}^{q}f(a)\psi(\frac{a}{q})$, where $\psi$ is digamma function.


My question is whether we can find a generalization of this or not? I mean:


$f(n)$ is a periodic function with period $q$, but $\displaystyle\sum\_{n=1}^{q}f(n)$ may not be zero. In that case for $\Re(s)>1$ define $F(s)=\displaystyle\sum\_{n=1}^{\infty}\frac{f(n)}{n^s}$. Of course we can write $F(s)$ as finite linear combination of special values of *Hurwitz Zeta function*. Apart from that, is there any way to write $F(s)$ as a finite sum (e.g. finite linear combination of special values of digamma function like previous case)? 


Any suggestion or reference will be appreciated. 



Summation of certain series
Thanks to everyone whoever thought over this problem. I have asked Professor Murty (one of the authors of the paper mentioned in the question) about this question. He told me that, of course such generalization exists. In fact, those same authors had another paper which encounters this generalization problem.


It is very clear that according to the question, $L(s,f):=\displaystyle\sum\_{n=1}^{\infty}\frac{f(n)}{n^s}$ is analytic in $\mathbb{C}$ except $s=1$ where the L-function has a simple pole with residue $\frac{1}{q}\displaystyle\sum\_{n=1}^qf(n)$.


For $1<k \in \mathbb{N}$, we can have $L(k,f)=\frac{(-1)^k}{(k-1)!q^k}\displaystyle\sum\_{a=1}^qf(a)\psi\_{k-1}(\frac{a}{q})$, where $\psi\_k$ is [Polygamma function](http://en.wikipedia.org/wiki/Polygamma_function). For details of the proof one may look at [this paper](http://www.worldscientific.com/doi/abs/10.1142/S1793042109002079)
.


