2

Suppose you have three distinct items $a$, $b$, $c$. You want to find how many unique sets you can get by choosing at least one item. For example, $\{a\}$ would form a unique set, and $\{a, b\}$ would form a unique set. Of course you can't choose more than three items but you have to choose at least one. What is the formula for this in the general case?

At first I tried the combination formula but I realized that doesn't apply because $n$ choose $k$ requires you choose exactly $k$ items. So what is the formula for fixed $n$ but varied $k$ (given max for $k$)?

Zev Chonoles
  • 129,973

1 Answers1

2

Well, to get the number of ways of choosing at least $k$ objects from a set of $n$, the formula $$\sum_{i=k}^n\binom{n}{i}=\underbrace{\binom{n}{k}}_{\substack{\text{ways of choosing}\\\text{exactly }k}}+\underbrace{\binom{n}{k+1}}_{\substack{\text{ways of choosing}\\\text{exactly }k+1}}+\;\;\cdots\;\;+\underbrace{\binom{n}{n}}_{\substack{\text{ways of choosing}\\\text{exactly }n}}$$ works, but maybe it's not "closed-form" enough for your preferences?

Zev Chonoles
  • 129,973