partial fraction series for digamma function
Theorem 1
Proof:Start with
so
and thus, taking derivatives,
The second formula follows after rearranging terms (the rearrangement is legal since we are simply exchanging adjacent terms, so partial sums remain the same).