Counting Combinations with Restricted Summation using Generating Functions

  • Thread starter Thread starter FAhmad
  • Start date Start date
  • Tags Tags
    Binomial
Click For Summary
SUMMARY

The discussion focuses on calculating the number of combinations of 5 numbers selected from the set {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11} such that their sum does not exceed 21. The total number of unrestricted combinations is 462, but the valid combinations that meet the summation constraint total 24. The solution involves using generating functions, specifically applying the concept of weighted sums where the weight is defined as x raised to the number of draws and y raised to the value of the summation of the numbers.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with generating functions
  • Knowledge of polynomial expansion techniques
  • Basic principles of weighted sums in combinatorics
NEXT STEPS
  • Study the application of generating functions in combinatorial problems
  • Learn about polynomial coefficients and their interpretation in counting problems
  • Explore advanced combinatorial techniques such as inclusion-exclusion principle
  • Investigate the use of software tools like SageMath for combinatorial calculations
USEFUL FOR

Mathematicians, combinatorial theorists, and students studying discrete mathematics who are interested in advanced counting techniques and generating functions.

FAhmad
Messages
1
Reaction score
0
If we have numbers 1,2,3,4,5,6,7,8,9,10,11.

We want to pick 5 numbers out of that, but there is a restriction - the summation of the 5 picked numbers must be 21 or less.

How many different combinations can we get?

The answer is 24 but I would like to know how to work it out (besides the impractical way of listing down all the possibilities in this case there are 462 different combinations, and testing one by one so that it is 21 or less)
 
Physics news on Phys.org
You can use generating functions. Just count all the possibilities with an unrestricted number of draws and unrestricted summation with a weight of x^(#numbers drawn) y^(value of the summation of numbers).
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 29 ·
Replies
29
Views
8K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K