Using Generating Functions to Solve Enumeration Problems
Using Generating Functions to Solve Enumeration Problems
Many enumeration problems can be solved using generating functions. This Demonstration illustrates the method in the context of problems concerning the number of ways to select balls, each of which is one of colors, where balls of a given color are indistinguishable. In addition to choosing the values of and , restrictions on the number of balls of a given color can be imposed, giving a large variety of problems that can be solved.
r
n
r
n