MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

[Q] Generalized Partitions

Dear Mathematica users:

do you know of a function in Mathematica that could do the partitioning
of a number into a fixed number of components out of predefined set,
i.e. partition number 10 into the elements from the set {1,3,4,5,6,7,9}
and each partition should have exactly, say, 2 elements.  Of course, I
have in mind a much bigger problem.

Thank you in advance for your help.
Janusz Kawczak.

  • Prev by Date: Re: Integrate[1/x, x] ??
  • Next by Date: Re: is there a way to swap the axes in a Plot?
  • Previous by thread: Re: Derivative[1][x^2] ??
  • Next by thread: Re: [Q] Generalized Partitions