Series formula Euler's product formula for the gamma function, combined with the functional equation and an identity for the Euler–Mascheroni constant, yields the following expression for the digamma function, valid in the complex plane outside the negative integers (Abramowitz and Stegun 6.3.16): reads :\begin{align} \psi(s) &= -\gamma + (s-1) - \frac{(s-1)(s-2)}{2\cdot2!} + \frac{(s-1)(s-2)(s-3)}{3\cdot3!}\cdots,\quad\Re(s)> 0, \\ &= -\gamma - \sum_{k=1}^\infty \frac{(-1)^k}{k} \binom{s-1}{k}\cdots,\quad\Re(s)> 0. \end{align} where is the
binomial coefficient. It may also be generalized to :\psi(s+1) = -\gamma - \frac{1}{m} \sum_{k=1}^{m-1}\frac{m-k}{s+k} - \frac{1}{m}\sum_{k=1}^\infty\frac{(-1)^k}{k}\left\{\binom{s+m}{k+1}-\binom{s}{k+1}\right\},\qquad \Re(s)>-1, where Similar series with the Cauchy numbers of the second kind reads : \psi(v)=\ln(v-1) + \sum_{n=1}^\infty\frac{C_{n}(n-1)!}{(v)_{n}},\qquad \Re(v) >1, A series with the
Bernoulli polynomials of the second kind has the following form : \psi(v)=\ln(v+a) + \sum_{n=1}^\infty\frac{(-1)^n\psi_{n}(a)\,(n-1)!}{(v)_{n}},\qquad \Re(v)>-a, where are the
Bernoulli polynomials of the second kind defined by the generating equation : \frac{z(1+z)^a}{\ln(1+z)}= \sum_{n=0}^\infty z^n \psi_n(a) \,,\qquad |z| It may be generalized to : \psi(v)= \frac{1}{r}\sum_{l=0}^{r-1}\ln(v+a+l) + \frac{1}{r}\sum_{n=1}^\infty\frac{(-1)^n N_{n,r}(a)(n-1)!}{(v)_{n}}, \qquad \Re(v)>-a, \quad r=1,2,3,\ldots where the polynomials are given by the following generating equation : \frac{(1+z)^{a+m}-(1+z)^{a}}{\ln(1+z)}=\sum_{n=0}^\infty N_{n,m}(a) z^n , \qquad |z| so that . Similar expressions with the logarithm of the gamma function involve these formulas : \psi(v)= \frac{1}{v+a-\tfrac12}\left\{\ln\Gamma(v+a) + v - \frac12\ln2\pi - \frac12 + \sum_{n=1}^\infty\frac{(-1)^n \psi_{n+1}(a)}{(v)_{n}}(n-1)!\right\},\qquad \Re(v)>-a, and : \psi(v)= \frac{1}{\tfrac{1}{2}r+v+a-1}\left\{\ln\Gamma(v+a) + v - \frac12\ln2\pi - \frac12 + \frac{1}{r}\sum_{n=0}^{r-2} (r-n-1)\ln(v+a+n) +\frac{1}{r}\sum_{n=1}^\infty\frac{(-1)^n N_{n+1,r}(a)}{(v)_{n}}(n-1)!\right\}, where \Re(v)>-a and r=2,3,4,\ldots. ==Reflection formula==