Skip to content

Average Order of an Arithmetic Function

Describe an arithmetic function's aggregate growth with a simpler function whose initial-interval sums are asymptotically equivalent.

Version
v2 · 2026-10-03 · History
Domain-specific #
12999
Domain group
Formal Sciences
Origin domain
Mathematics
Subdomains
Arithmetic Function Asymptotics, Summatory Methods → Mathematics
Aliases
Average order of arithmetic functions, Arithmetic-function average order

Core Idea

An average order \(g\) of an arithmetic function \(f\) is a simpler comparator whose cumulative values grow asymptotically like those of \(f\): \(\sum_{n\le x}f(n)\sim\sum_{n\le x}g(n)\) as \(x\to\infty\). This concerns initial-interval sums, not the value of \(f(n)\) at each integer or even at most integers. A smooth, monotone \(g\) is a convenient convention rather than a unique choice.[1][2]

How would you explain it like I'm…

The Marble Pile Twin

Imagine a long line of bags, and each bag has some marbles. Some bags have lots, most have only a few, so they jump around. But if you keep a running total of all the marbles, the pile grows almost exactly like the pile from a much simpler line of bags. That simpler line is an average order, even though most single bags don't match it.

Matching Running Totals

Some math rules give each counting number a value, like "how many numbers divide into this one?" Those values can jump around a lot from one number to the next. But if you add them all up from 1 to some big number, the running total can grow in a simple, predictable way. An average order is a simpler rule whose running total grows the same way, getting closer and closer as you go further. It doesn't mean the two rules match at each number, or even that most numbers look like the simple rule. For example, a few numbers with lots of divisors pull the total up, so typical numbers have fewer than you'd guess.

Matching Running-Total Growth

An arithmetic function assigns a value f(n) to each positive integer, and it can jump wildly between neighbors. An average order of f is a simpler function g whose running sums match f's in the long run: the ratio of the sum of f(n) for n ≤ x to the sum of g(n) for n ≤ x tends to 1 as x grows. This is a statement about totals, not about individual values, so f(n)/g(n) need not approach 1, and f and g need not agree at most integers. There can be many valid choices of g. For example, the divisor-count function d(n) has sums growing like x log x, and so do the sums of log n, making log n an average order of d(n). Yet most numbers near x actually have far fewer than about log x divisors; rare numbers with very many divisors push the average up.

 

An arithmetic function f can fluctuate sharply between consecutive integers while its partial sums obey a simple large-scale law. A function g is an average order of f if the summatory functions are asymptotically equivalent: S_f(x) = Σ_{n≤x} f(n) and S_g(x) = Σ_{n≤x} g(n) satisfy S_f(x) ∼ S_g(x) as x → ∞, meaning their ratio tends to 1 where defined. This concerns aggregate growth only; it does not assert f(n)/g(n) → 1, nor agreement at almost every n. Taking g continuous or monotone makes the approximation easier to read, but that is a convention, not part of the definition, and g is generally not unique. The divisor function d(n) illustrates this: Σ_{n≤x} d(n) ∼ x log x, and Σ_{n≤x} log n ∼ x log x as well, so log n is an average order of d(n). Crucially, this does not mean typical integers near x have about log x divisors. Hardy and Ramanujan's analysis shows the typical size of d(n) is substantially smaller, with rare large values inflating the average.

Scope of Application

The divisor-count function \(d(n)\) has average order \(\log n\): writing \(m=\lfloor x\rfloor\), count divisor pairs to get \(\sum_{n\le x}d(n)=\sum_{a=1}^{m}\lfloor m/a\rfloor=mH_m+O(m)=m\log m+O(m)\), while \(\sum_{n\le x}\log n=\log(m!)=m\log m+O(m)\). Their sum ratio tends to one. Under the prime number theorem, the von Mangoldt function \(\Lambda(n)\) has mean one, so constant \(g(n)=1\) is an average order. Neither example claims pointwise agreement.[2][3]

Clarity

Normal order instead describes behavior on a density-one set. Hardy and Ramanujan explicitly separated this question from average order; their displayed \(d(n)\) summatory asymptotic is not itself a theorem about \(d(n)\) for almost every integer. Exceptional values may affect totals without deciding a density-one claim. A zero limiting mean also requires care—ordinary ratio-asymptotic equivalence to a zero comparator is undefined.[2]

Manages Complexity

Summing suppresses local fluctuations and exposes a leading growth law that can be communicated with a simple \(g\). The compression loses distributional detail, exceptional sets and error rates; two functions with the same average order may behave very differently at individual integers.[1]

Abstract Reasoning

Compute or establish the summatory asymptotic of \(f\), choose an interpretable \(g\), and separately determine its summatory asymptotic. Check that their ratio tends to one on a meaningful nonzero scale. State whether the result concerns sums, almost all \(n\), or each \(n\), and do not infer one regime from another.[1][2]

Knowledge Transfer

Divisor counts and prime-detecting weights share the sum/comparator/asymptotic architecture while needing different \(g\)'s. Normal Order of an Arithmetic Function is a sibling, Divisor Summatory Function one accumulated object, and Asymptotic Behavior the strict parent in the current DAG.

Relationships to Other Abstractions

Local relationship map for Average Order of an Arithmetic FunctionParents appear above the current abstraction, mutual partners to the right, and children below. Node labels state whether each abstraction is prime or domain-specific; colors identify relation types.Average Order of anArithmetic FunctionDOMAINPrime abstraction: Asymptotic Behavior — is a kind ofAsymptoticBehaviorPRIME

Current abstraction Average Order of an Arithmetic Function Domain-specific

Parents (1) — outgoing typed relations

  • Average Order of an Arithmetic Function is a kind of Asymptotic Behavior Prime

    Average order compares the limiting growth of arithmetic-function initial sums.

Hierarchy paths (2) — routes to 2 parentless roots

Neighborhood in Abstraction Space

Average Order of an Arithmetic Function sits in a moderately populated region (44th percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.

Family — Number-Theoretic Properties & Tests (22 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Encyclopedia of Mathematics, “Average order of an arithmetic function”. registry ↩a ↩b ↩c

[2] Hardy and Ramanujan, original paper distinguishing average and normal orders. registry ↩a ↩b ↩c ↩d

[3] Terence Tao, original lecture notes on von Mangoldt mean one under the prime number theorem. registry ↩