Modular Arithmetic & Euclidean GCD
Modular exponentiation, multiplicative inverses, and step-by-step Euclidean algorithm traces. Built for Discrete Mathematics, this workbench updates the euclidean trace 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
- Combinatorics & Pascal’s Triangle: Calculate permutations P(n,r) and combinations C(n,r) highlighted on Pascal’s Triangle.
- Quadratic Equation & Parabola: Solve ax² + bx + c = 0 for real or complex roots, discriminant Δ, vertex form, and symmetry on a live parabola plot.
- Triangle Solver (Law of Sines & Cosines): Solve any right or oblique triangle from SAS, SSS, or ASA givens for sides, angles, Heron area, and circumradius.
- Unit Circle & Trig Functions: Inspect exact π-fraction radians, quadrant signs, reference angles, sin/cos/tan values, and synchronized sine/cosine waves.
- Exponential Growth, Decay & Half-Life: Model radioactive half-life, thermal cooling, and exponential doubling with time constants and instantaneous rates.
- Logarithm & Change-of-Base Explorer: Evaluate natural, common, binary, and custom-base logarithms with change-of-base verification and mirrored y = b^x inverse plots.