Mathematics A / Counting Cases ② (Combinations) 3 / 6

Combinations③ Combinations with Repetition

The number of ways to choose r objects from n types, allowing repetition: nHr = (n+r−1)Cr

Example①
Choosing 5 fruits from 3 types (repetition allowed): 3H5 = 7C5 = 7C2 = 21 ways
Example② (Integer Solutions of an Equation)
Nonnegative integer solutions of x+y+z=7: 3H7 = 9C7 = 36
Key Points
  • Combinations with repetition → use separators (○ and |)
  • Positive integer solutions → transform the variables and reduce to nonnegative integer solutions

Practice Problems

  1. How many ways can 3 sweets be chosen from 4 types (repetition allowed)?
  2. Find the number of nonnegative integer solutions of x+y+z=10.
  3. Find the number of integer solutions of x+y+z=8 (x≥1, y≥2, z≥0).

Answers

  1. 4H3=6C3=20 ways
  2. 3H10=12C2=66
  3. With x'=x−1, y'=y−2, x'+y'+z=5 → 3H5=21

Read the rest with a free account

A free account unlocks the rest of this lesson and the learn-by-teaching-AI feature.

Create a free account Log in

Questions and answers for this lesson

Loading...