Well we know the generating function for the harmonic numbers, that's one over one minus Z, log of one over one minus Z. If we multiply that by one minus Z, then we get the generating function for the sum. 