Library/Combinatorics

Combinatorics

Practice
Overview
Important

Combinatorics is the study of counting, arranging, and selecting objects, often using systematic methods. It includes topics such as permutations (ordered arrangements), combinations (unordered selections), and the use of the addition and multiplication principles.

Important properties

  • Addition Principle: If there are mm ways to do one thing and nn ways to do another, and they cannot both happen, there are m+nm + n ways to choose one.

  • Multiplication Principle: If there are mm ways to do one thing and nn ways to do another, and both happen in sequence, there are m×nm \times n ways to do both.

  • Permutations: The number of ways to arrange nn distinct objects is n!n!.

  • Combinations: The number of ways to choose kk objects from nn is (nk)\binom{n}{k}.