Gauss’ digamma theoremTheorem (Gauss).Ψ(x+n)=1x+1x+1+⋯+1x+n-1+Ψ(x),n=1,2,3,…Ψ(pq)=-γ-π2cotπpq-lnq+∑n=1q-1cos2πnpqln(2sinπnq)where 0<p<q.