Course Forum

coeff of x^r

coeff of x^r

av Victoire Nicolas -
Antal svar: 1

Hi,

I don't understand what is the coefficient of x^r for the generating function (1/(1-x))^n

In the book, it's n+r-1 choose r

In the lecture, it's n+r-1 choose r-1

In the quizz, it's something different.. What's the correct formula ?

Thank you !