The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V12. Number theory

Mathlib.NumberTheory.ArithmeticFunction.Liouville

6 declarations. Mathlib docs · Source

def ArithmeticFunction.liouville E1 #

ArithmeticFunction ℤ

The Liouville function λ(n) defined to be 1 if n has an even number of prime factors (counting multiplicity) and -1 otherwise.

theorem ArithmeticFunction.liouville_apply E0 #

∀ {n : ℕ}, n ≠ 0 → ArithmeticFunction.liouville n = (-1) ^ ArithmeticFunction.cardFactors n

theorem ArithmeticFunction.liouville_ne_zero E1 #

∀ {n : ℕ}, n ≠ 0 → ArithmeticFunction.liouville n ≠ 0

theorem ArithmeticFunction.liouville_apply_one E1 #

ArithmeticFunction.liouville 1 = 1

theorem ArithmeticFunction.liouville_apply_mul E1 #

∀ (m n : ℕ), ArithmeticFunction.liouville (m * n) = ArithmeticFunction.liouville m * ArithmeticFunction.liouville n

theorem ArithmeticFunction.isMultiplicative_liouville E1 #

ArithmeticFunction.liouville.IsMultiplicative