Miscellaneous arithmetic Functions #
This file defines some simple examples of arithmetic functions (functions ℕ → R vanishing at
0, considered as a ring under Dirichlet convolution). Note that the Von Mangoldt and Möbius
functions are in separate files.
Main Definitions #
σ kis the arithmetic function such thatσ k x = ∑ y ∈ divisors x, y ^ kfor0 < x.pow kis the arithmetic function such thatpow k x = x ^ kfor0 < x.idis the identity arithmetic function onℕ.ω nis the number of distinct prime factors ofn.Ω nis the number of prime factors ofncounted with multiplicity.
Notation #
The arithmetic functions σ, ω and Ω have Greek letter names.
This notation is scoped to the separate locales ArithmeticFunction.sigma for σ,
ArithmeticFunction.omega for ω and ArithmeticFunction.Omega for Ω, to allow for selective
access.
Tags #
arithmetic functions, dirichlet convolution, divisors
The map $n \mapsto \prod_{p \mid n} f(p)$ as an arithmetic function
Equations
Instances For
σ k n is the sum of the kth powers of the divisors of n
Equations
Instances For
σ k n is the sum of the kth powers of the divisors of n
Equations
Instances For
Ω n is the number of prime factors of n.
Equations
Instances For
Ω n is the number of prime factors of n.
Equations
Instances For
ω n is the number of distinct prime factors of n.
Equations
Instances For
ω n is the number of distinct prime factors of n.
Equations
Instances For
An O(N) formula for the sum of the number of divisors function.