choose() — Combinations

Counts the ways to pick k things from n when the order does not matter.

choose(n, k)

Key idea

Definition

total items
how many you pick
ways to choose, order ignored

Where you'd use it

Frequently asked questions

choose vs permutations?
choose counts groups where order doesn’t matter (combinations); permutations count ordered arrangements.
What is choose(n, 0)?
1 — there’s exactly one way to choose nothing.