From: TCL on
On Jun 13, 8:26 am, leox <leonid...(a)gmail.com> wrote:
> How  to simplify to a rational function the following sum
>
> \sum x^i y^j z^{a*i+b*j-2k}
>
> where a,b integers >0 and i,j,k>=0   run over the set a*i+b*j-2*k>=0?

Consider 4 cases: a even, b odd; a odd, b odd; .....
Solve each case separately.