05/07/2008, 12:57 AM

Also, just to be clear, if you were wondering where the 6 came from in:

in this post, I thought I'd explain. According to the generating function above, this should all be the same, only with and . So if we plug these into the formula above we find that:

so thats where the 6 comes from. The negative actually comes from the harmonic numbers, since:

and

.

.

I think this might actually be the generating function for all but I can't find a reference for this. The only place I have found that goes into depth into this kind of generalized harmonic number is MathWorld, although apparently Conway and Guy go into detail, I'll have to read their book again to find out...

Andrew Robbins

in this post, I thought I'd explain. According to the generating function above, this should all be the same, only with and . So if we plug these into the formula above we find that:

so thats where the 6 comes from. The negative actually comes from the harmonic numbers, since:

and

.

.

I think this might actually be the generating function for all but I can't find a reference for this. The only place I have found that goes into depth into this kind of generalized harmonic number is MathWorld, although apparently Conway and Guy go into detail, I'll have to read their book again to find out...

Andrew Robbins