User:Virginia-American/Sandbox/Arithmetic function
In number theory, an arithmetic function or arithmetical function is a real or complex valued function f(n) defined on the set of natural numbers (i.e. positive integers) that "expresses some arithmetical property of n."[1].
An example of an arithmetic function is the non-principal character (mod 4) defined by
To emphasise that they are being thought of as functions rather than sequences, values of an arithmetic function are usually denoted by a(n) rather than an.
There is a larger class of number-theoretic functions that do not fit the above definition, e.g. the prime-counting functions. This article provides links to functions of both classes.
Notation
and mean that the sum or product is over all prime numbers:
Similarly, and mean that the sum or product is over all prime powers (with positive exponent, so 1 is not counted):
and mean that the sum or product is over all positive divisors of n, including 1 and n. E.g., if n = 12,
The notations can be combined: and mean that the sum or product is over all prime divisors of n. E.g., if n = 18,
and similarly and mean that the sum or product is over all prime powers dividing n. E.g., if n = 24,
Multiplicative and additive functions
An arithmetic function a is
- completely additive if a(mn) = a(m) + a(n) for all natural numbers m and n;
- completely multiplicative if a(mn) = a(m)a(n) for all natural numbers m and n;
Two whole numbers m and n are called coprime if their greatest common divisor is 1; i.e., if there is no prime number that divides both of them.
Then an arithmetic function a is
- additive if a(mn) = a(m) + a(n) for all coprime natural numbers m and n;
- multiplicative if a(mn) = a(m)a(n) for all coprime natural numbers m and n.
Ω(n), ω(n), νp(n) - prime power decomposition
The fundamental theorem of arithmetic states that any positive integer n can be factorised uniquely as a product of powers of primes: where p1 < p2 < ... < pk are primes and the aj are positive integers. (1 is given by the empty product.)
It is often convenient to write this as an infinite product over all the primes, where all but a finite number have a zero exponent. Define νp(n) as the exponent of the highest power of the prime p that divides n. I.e. if p is one of the pi then νp(n) = ai, otherwise it is zero. Then
In terms of the above the functions ω and Ω are defined by
- ω(n) = k,
- Ω(n) = a1 + a2 + ... + ak.
To avoid repetition, whenever possible formulas for the functions listed in this article are given in terms of n and the corresponding pi, ai, ω, and Ω.
Multiplicative functions
σk(n), τ(n), d(n) - divisor sums
σk(n) is the sum of the kth powers of of the positive divisors of n, including 1 and n, where k is a complex mumber.
σ1(n), the sum of the (positive) divisors of n, is usually denoted by σ(n). Since a positive number to the zero power is one,
σ0(n) is therefore the number of (positive) divisors of n; it is usually denoted by d(n) or τ(n) (for the German Teiler = dvisors).
Setting k = 0 gives
φ(n) - Euler totient function
φ(n), the Euler totient function, is the number of positive integers not greater than n that are coprime to n.
μ(n) - Möbius function
μ(n), the Möbius function, is important because of the Möbius inversion formula.
This implies that μ(1) = 1. (Because Ω(1) = ω(1) = 0.)
Completely multiplicative functions
λ(n) - Liouville function
λ(n), the Liouville function, is defined by
χ(n) - characters
All Dirichlet characters χ(n) are completely multiplicative; e.g. the non-trivial character (mod 4) defined in the introduction, or the principal character (mod n) defined by
Additive functions
ω(n) - distinct prime divisors
ω(n), defined above as the number of distinct primes dividing n, is additive
Completely additive functions
Ω(n) - prime divisors
Ω(n), defined above as the number of prime factors of n counted with multiplicities, is completely additive.
Neither multiplicative nor additive
π(x), Π(x), θ(x), ψ(x) - prime count functions
Unlike the other functions listed in this article, these are defined for non-negative real (not just integer) arguments. They are used in the statement and proof of the prime number theorem.
π(n), the prime counting function, is the number of primes not exceeding x.
A related function counts prime powers with weight 1 for primes, 1/2 for their squares, 1/3 for cubes, ...
θ(x) and ψ(x), the Chebyshev functions
are defined as sums of the natural logarithms of the primes not exceeding x:
- and
Λ(n) - von Mangoldt function
Λ(n), the von Mangoldt function, is 0 unless the argument is a prime power, in which case it is the natural log of the prime:
p(n) - partition function
p(n), the partition function, is the number of unordered representations of n as a sum of positive integers.
λ(n) - Carmichael function
λ(n), the Carmichael function, is the smallest positive number such that for all a coprime to n.
For prime powers it is equal to the Euler totient function (for 2, 4, and odd prime powers)
or to one-half the totient (for powers of 2 greater than 4):
and for general n it is the least common multiple of λ of each of its prime power factors:
h(n) - Class number
h(n), the class number function, is the order of the ideal class group of an algebraic extension of the rationals with discriminant n. The notation is ambiguous, as there are in general many extensions with the same discriminant. See quadratic field and cyclotomic field for classical examples.
rk(n) - Sum of k squares
rk(n) is the number of ways n can be be represented as the sum of k squares.
Summation functions
Given an arithmetic function a(n), its summation function A(x) is defined by
A can be regarded as a function of a real variable. Given a positive integer m, A is constant along open intervals m < x < m + 1, and has a jump discontinuity at each integer for which a(m) ≠ 0.
Given any set E of the natural numbers (for example, the set of prime numbers), define
Let P be the set of positive prime numbers then π(x) is the summation function of uP(n).
Individual values of arithmetic functions may fluctuate wildly - as in most of the above examples. Summation functions "smooth out" these fluctuations. In some cases it may be possible to find asymptotic behaviour for the summation function for large x. The prime number theorem gives asymptotic behaviour for π(x) (the summation function of uP(n)) for large x.
Convolution
Given an arithmetic function a(n), let Fa(s), for complex s, be the function defined by the corresponding Dirichlet series (where it converges):
Fa(s) is called a generating function of a(n). One key example is given by a(n) = 1 for all n. In this case Fa(s) = ς(s), the Riemann zeta function.
Consider two arithmetic functions a and b and their respective generating functions Fa(s) and Fb(s). The product Fa(s)Fb(s) can be computed as follows:
After some simplification this gives Fa(s)Fb(s) = Fc(s) where c is some arithmetic function given by
where the notation i|n means that i divides n. The function c defined in this way is called the Dirichlet convolution of a and b, and is denoted by . This binary operation on the space of arithmetic functions has some interesting properties. See the article on Dirichlet convolutions for more details.
See also
Notes
- ^ Hardy & Wright, intro. to Ch. XVI
References
Tom M. Apostol (1976). Introduction to Analytic Number Theory. Springer Undergraduate Texts in Mathematics. ISBN 0387901639.
- Hardy, G. H.; Wright, E. M. (1980), An Introduction to the Theory of Numbers (Fifth edition), Oxford: Oxford University Press, ISBN 978-0198531715
G. J. O. Jameson (2003). The Prime Number Theorem. Cambridge University Press. ISBN 0-521-89110-8.
William J. LeVeque (1996). Fundamentals of Number Theory. Courier Dover Publications. ISBN 0486689069.
Elliott Mendelson (1987). Introduction to Mathematical Logic. CRC Press. ISBN 0412808307.