Primorial #
This file defines the primorial function (the product of primes less than or equal to some bound),
and proves that primorial n ≤ 4 ^ n.
Notations #
We use the local notation n# for the primorial of n: that is, the product of the primes less
than or equal to n.
The primorial n# of n is the product of the primes less than or equal to n.
Equations
- primorial n = ∏ p ∈ Finset.filter Nat.Prime (Finset.range (n + 1)), p