Documentation

Mathlib.Data.Nat.Factorial.DoubleFactorial

Double factorials #

This file defines the double factorial, n‼ := n * (n - 2) * (n - 4) * ....

Main declarations #

Nat.doubleFactorial n is the double factorial of n.

Equations
Instances For
    theorem Nat.doubleFactorial_eq_prod_odd (n : ) :
    Nat.doubleFactorial (2 * n + 1) = Finset.prod (Finset.range n) fun (i : ) => 2 * (i + 1) + 1