Multifactorials
Multifactorials are a generalization of the factorial operation that extends the product to steps larger than one. For a positive integer n and a positive integer k, the k-fold or multifactorial of n is defined as n!(k) = n × (n − k) × (n − 2k) × ..., with the product continuing until the next factor would be nonpositive. Equivalently, n!(k) can be written as the product ∏_{i=0}^{m−1} (n − i k), where m = ⌈n/k⌉.
The multifactorial is sometimes written as n!(k) or n!^{(k)}. When k = 1, it reduces to the ordinary
7!(3) = 7 × 4 × 1 = 28; 6!(3) = 6 × 3 = 18; 6!(4) = 6 × 2 =
If n is a multiple of k, say n = m k, then n!(k) = k^m m!. In general