Combinatorics & Pascal’s Triangle

Calculate permutations P(n,r) and combinations C(n,r) highlighted on Pascal’s Triangle. Built for Discrete Mathematics, this workbench updates the pascal’s triangle and scalar readouts in real time as parameters change.

Technical Reference & Equations

  • Permutations & Combinations: P(n, r) = \frac{n!}{(n - r)!}, \quad \binom{n}{r} = \frac{n!}{r!(n - r)!} (Permutations count ordered arrangements; combinations ignore order.)
  • Binomial Theorem: (a + b)^n = \sum_{k=0}^{n} \binom{n}{k} a^{n-k} b^k (Coefficients match row n of Pascals triangle.)
  • Bezouts Identity & Modular Inverse: ax + by = \gcd(a, b), \quad a \cdot a^{-1} \equiv 1 \pmod m (Modular inverse exists if and only if gcd(a, m) = 1.)

View full Discrete Mathematics Formula Sheet | Constants Table

Related Discrete Math Calculators