another partition question




how many sols we have for a + b +c + d + e = n 0<=a<=k, 0<=b<=k
same bounds for all the elements ? Had it been 1 <=a<= k i could use
the coefficient of the generating function

The problem could be changed as "number of non negative solns of n
into k parts such that each part is from a set of elements."


product of ( 1/(1-x^i)) for 1<=i<=k , the coefficient of x^n gives
the number of solns

a) Now if we have 0<=i the generating function blow up because of 1/
(1-x^0) = 1/0 , so how do we tackle this in terms of generating
functions.

b) If it had be positive partitions i could have used p(n,k) =
p(n-1,k-1 ) + p(n-k,k) but when there is 0 allowed , i get something
like p(n,k) = p(n,k-1)(add a 0 ) + p (n-1,k) (u can increase one of
the terms by 1 ). Now when increasing any of the terms by 1, we are
over computing because the element +1 needn't be in set. Any
suggestions how to remove or a better recurrence?



.



Relevant Pages

  • Re: another partition question
    ... the coefficient of the generating function ... The problem could be changed as "number of non negative solns of n ... suggestions how to remove or a better recurrence? ...
    (sci.math)
  • (Finite) Generating Functions
    ... Write an ordinary generating function for the number of ways of ... and find the coefficient of x^5 in the other three terms. ... Surely there is an easier way to do this, other than the Maple way. ... news (dot) post tbrauch com ...
    (sci.math)
  • Re: suggestions on how to do this
    ... Seems You are looking for a generating function of a recurrence ... There is a standard text about this topic written by Herbert ...
    (comp.lang.python)
  • Re: Jointly Gaussian Random Variables
    ... Use the moment generating function exp ... of a Gaussian Nrandom variable. ... moment is related to the coefficient of t^3 in the mgf. ...
    (comp.dsp)
  • generating function vs explicit formula
    ... I have a question about the enumeration of combinatorial objects ... coefficient of x^j gives the number of objects for n=j. ... I read that Euler knew of a generating function for the ... And is "explicit formula" a good way to ...
    (sci.math)