Well, generating function for all cycles is z + z^2 / two + z like that, and we're just leaving out the first term. so that immediate translation and that's the same as log of one over one minus z minus z. that is that infinite series is exactly log(1/r-z)-z). one over one minus z minus z. 