Gessel, I. “Generating Functions and Generalized Dedekind Sums”. The Electronic Journal of Combinatorics, Vol. 4, no. 2, Oct. 1996, p. R11, doi:10.37236/1326.