> ratcoeff( (x+1)^k, x, 3 ) => binomial(k,3) > > but do you also expect the closed form for ratcoeff ( (x^a+x^b)^k ,x,3)? > Or how about Because I need these two, I'm just writing a thing that does this...