ArticleslgStudy

mathematics

Arithmetic function

Arithmetic function is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Arithmetic function rather than just read about it. In short: In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function whose domain is the set of positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses some arithmetical property of n".

Key takeaways

  • Arithmetic function belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Arithmetic function to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Arithmetic function from memory before moving on to harder problems.

Reference excerpt

In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function whose domain is the set of positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses some arithmetical property of n". There is a larger class of number-theoretic functions that do not fit this definition, for example, the prime-counting functions. This article provides links to functions of both classes. An example of an arithmetic function is the divisor function whose value at a positive integer n is equal to the number of divisors of n. Arithmetic functions are often extremely irregular (see table), but some of them have series expansions in terms of Ramanujan's sum.

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(1) = 1 and 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, that is, 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(1) = 1 and a(mn) = a(m)a(n) for all coprime natural numbers m and n.

Notation In this article, ∑pf(p) and ∏pf(p) mean that the sum or product is over all prime numbers: ∑pf(p)=f(2)+f(3)+f(5)+⋯ and ∏pf(p)=f(2)f(3)f(5)⋯. Similarly, ∑pkf(pk) and ∏pkf(pk) mean that the sum or product is over all prime powers with strictly positive exponent (so k = 0 is not included): ∑pkf(pk)=∑p∑k>0f(pk)=f(2)+f(3)+f(4)+f(5)+f(7)+f(8)+f(9)+⋯. The notations ∑d∣nf(d) and ∏d∣nf(d) mean that the sum or product is over all positive divisors of n, including 1 and n. For example, if n = 12, then ∏d∣12f(d)=f(1)f(2)f(3)f(4)f(6)f(12). The notations can be combined: ∑p∣nf(p) and ∏p∣nf(p) mean that the sum or product is over all prime divisors of n. For example, if n = 18, then ∑p∣18f(p)=f(2)+f(3), and similarly ∑pk∣nf(pk) and ∏pk∣nf(pk) mean that the sum or product is over all prime powers dividing n. For example, if n = 24, then ∏pk∣24f(pk)=f(2)f(3)f(4)f(8).

Ω(n), ω(n), νp(n) – prime power decomposition The fundamental theorem of arithmetic states that any positive integer n can be represented uniquely as a product of powers of primes: n=p1a1⋯pkak 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 the p-adic valuation νp(n) to be the exponent of the highest power of the prime p that divides n. That is, if p is one of the pi then νp(n) = ai, otherwise it is zero. Then n=∏ppνp(n). In terms of the above the prime omega functions ω and Ω are defined by

To avoid repetition, formulas for the functions listed in this article are, whenever possible, 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 the positive divisors of n, including 1 and n, where k is a complex number. σ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 = divisors). σk(n)=∏i=1ω(n)pi(ai+1)k−1pik−1=∏i=1ω(n)(1+pik+pi2k+⋯+piaik). Setting k = 0 in the second product gives τ(n)=d(n)=(1+a1)(1+a2)⋯(1+aω(n)).

φ(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)=n∏p∣n(1−1p)=n(p1−1p1)(p2−1p2)⋯(pω(n)−1pω(n)).

Jk(n) – Jordan totient function Jk(n), the Jordan totient function, is the number of k-tuples of positive integers all less than or equal to n that form a coprime (k + 1)-tuple together with n. It is a generalization of Euler's totient, φ(n) = J1(n). Jk(n)=nk∏p∣n(1−1pk)=nk(p1k−1p1k)(p2k−1p2k)⋯(pω(n)k−1pω(n)k).

μ(n) – Möbius function μ(n), the Möbius function, is important because of the Möbius inversion formula. See § Dirichlet convolution, below. μ(n)={(−1)ω(n)=(−1)Ω(n)if ω(n)=Ω(n)0if ω(n)≠Ω(n). This implies that μ(1) = 1. (Because Ω(1) = ω(1) = 0.)

τ(n) – Ramanujan tau function τ(n), the Ramanujan tau function, is defined by its generating function identity: ∑n≥1τ(n)qn=q∏n≥1(1−qn)24. Although it is hard to say exactly what "arithmetical property of n" it "expresses", (τ(n) is (2π)−12 times the nth Fourier coefficient in the q-expansion of the modular discriminant function) it is included among the arithmetical functions because it is multiplicative and it occurs in identities involving certain σk(n) and rk(n) functions (because these are also coefficients in the expansion of modular forms).

cq(n) – Ramanujan's sum cq(n), Ramanujan's sum, is the sum of the nth powers of the primitive qth roots of unity: cq(n)=∑gcd⁡(a,q)=11≤a≤qe2πiaqn. Even though it is defined as a sum of complex numbers (irrational for most values of q), it is an integer. For a fixed value of n it is multiplicative in q:

If q and r are coprime, then cq(n)cr(n)=cqr(n).

ψ(n) – Dedekind psi function The Dedekind psi function, used in the theory of modular functions, is defined by the formula ψ(n)=n∏p|n(1+1p).

Completely multiplicative functions

λ(n) – Liouville function λ(n), the Liouville function, is defined by λ(n)=(−1)Ω(n).

χ(n) – characters All Dirichlet characters χ(n) are completely multiplicative. Two characters have special notations: The principal character (mod n) is denoted by χ0(a) (or χ1(a)). It is defined as χ0(a)={1if gcd⁡(a,n)=1,0if gcd⁡(a,n)≠1. The quadratic character (mod n) is denoted by the Jacobi symbol for odd n (it is not defined for even n): (an)=(ap1)a1(ap2)a2⋯(apω(n))aω(n). In this formula (ap) is the Legendre symbol, defined for all integers a and all odd primes p by (ap)={0if a≡0(modp),+1if a≢0(modp) and for some integer x,a≡x2(modp)−1if there is no such x. Following the normal convention for the empty product, (a1)=1.

Additive functions

ω(n) – distinct prime divisors ω(n), defined above as the number of distinct primes dividing n, is additive (see Prime omega function).

Completely additive functions

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Arithmetic function

Start with the simplest possible case. Write down what Arithmetic function claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Arithmetic function before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Arithmetic function ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Arithmetic function

In research
Arithmetic function appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Arithmetic function in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Arithmetic function is common in secondary-school and first-year university syllabi. It links to neighbouring topics Arithmetic functions, Functions and mappings, so understanding it makes those chapters shorter.
In everyday life
Look for Arithmetic function outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Arithmetic function” →

How to study Arithmetic function in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Arithmetic function means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Arithmetic function out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Arithmetic function in simple terms?

In number theory, an arithmetic, arithmetical, or number-theoretic function is generally any function whose domain is the set of positive integers and whose range is a subset of the complex numbers. Hardy & Wright include in their definition the requirement that an arithmetical function "expresses…

Why does Arithmetic function matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Arithmetic function?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Arithmetic function.

Tags

  • Arithmetic functions
  • Functions and mappings

Keep exploring