Mathwords logoMathwords

Multifactorial — Definition, Formula & Examples

A multifactorial is a generalization of the factorial where you multiply a positive integer by every kkth integer below it, rather than every integer below it. For example, the double factorial n!!n!! multiplies every second integer down from nn, and the triple factorial n!!!n!!! multiplies every third integer.

For a positive integer nn and a positive integer kk, the kk-th multifactorial of nn, denoted n!(k)n!^{(k)} or with kk exclamation marks, is defined as n!(k)=n(nk)(n2k)n!^{(k)} = n \cdot (n-k) \cdot (n-2k) \cdots where the product continues as long as each factor is greater than zero.

Key Formula

n!(k)=i=0(n1)/k(nik)n!^{(k)} = \prod_{i=0}^{\left\lfloor (n-1)/k \right\rfloor} (n - ik)
Where:
  • nn = The starting positive integer
  • kk = The step size (number of integers skipped plus one)
  • ii = Index running from 0 up to $\lfloor (n-1)/k \rfloor$

How It Works

To compute a multifactorial, start with nn and repeatedly subtract kk, multiplying each result, until the next subtraction would give zero or a negative number. For a double factorial (k=2k=2), you skip every other integer: 7!!=7×5×3×1=1057!! = 7 \times 5 \times 3 \times 1 = 105. For a triple factorial (k=3k=3), you skip two at a time: 8!!!=8×5×2=808!!! = 8 \times 5 \times 2 = 80. When k=1k=1, you recover the ordinary factorial since you subtract 1 each time.

Worked Example

Problem: Compute the double factorial 9!!.
Identify the pattern: A double factorial means k=2k=2, so multiply every second integer down from 9.
9!!=9×7×5×3×19!! = 9 \times 7 \times 5 \times 3 \times 1
Multiply step by step: Work left to right: 9×7=639 \times 7 = 63, then 63×5=31563 \times 5 = 315, then 315×3=945315 \times 3 = 945, then 945×1=945945 \times 1 = 945.
9!!=9459!! = 945
Answer: 9!!=9459!! = 945

Why It Matters

Double factorials appear in combinatorics when counting perfect matchings and in probability formulas involving the Gaussian distribution. They also show up in physics, particularly in the coefficients of series expansions in quantum mechanics and statistical mechanics.

Common Mistakes

Mistake: Interpreting n!!n!! as (n!)!(n!)! — that is, taking the factorial of nn and then taking the factorial of the result.
Correction: The notation n!!n!! means the double factorial (multiply every second integer down from nn), not the factorial applied twice. (n!)!(n!)! would be astronomically larger.