Average order of an arithmetic function explained

In number theory, an average order of an arithmetic function is some simpler or better-understood function which takes the same values "on average".

Let

f

be an arithmetic function. We say that an average order of

f

is

g

if \sum_ f(n) \sim \sum_ g(n) as

x

tends to infinity.

It is conventional to choose an approximating function

g

that is continuous and monotone. But even so an average order is of course not unique.

In cases where the limit\lim_ \frac\sum_ f(n)=c

exists, it is said that

f

has a mean value (average value)

c

. If in addition the constant

c

is not zero, then the constant function

g(x)=c

is an average order of

f

.

Examples

Calculating mean values using Dirichlet series

In case

F

is of the formF(n)=\sum_ f(d),for some arithmetic function

f(n)

, one has,

Generalized identities of the previous form are found here. This identity often provides a practical way to calculate the mean value in terms of the Riemann zeta function. This is illustrated in the following example.

The density of the kth-power-free integers in

For an integer

k\geq1

the set

Qk

of kth-power-free integers isQ_k :=\.

We calculate the natural density of these numbers in, that is, the average value of

1
Qk
, denoted by

\delta(n)

, in terms of the zeta function.

The function

\delta

is multiplicative, and since it is bounded by 1, its Dirichlet series converges absolutely in the half-plane

\operatorname{Re}(s)>1

, and there has Euler product\sum_n^ = \sum_n \delta(n)n^= \prod_p \left(1+p^+\cdots +p^\right)= \prod_p \left(\frac\right) = \frac.

By the Möbius inversion formula, we get\frac = \sum_\mu(n)n^,where

\mu

stands for the Möbius function. Equivalently,\frac=\sum_f(n)n^,where

f(n)=\begin{cases} \mu(d)&n=dk\\ 0&otherwise, \end{cases}

and hence,\frac = \sum_n \left(\sum_f(d)\right)n^.

By comparing the coefficients, we get\delta(n)=\sum_f(d).

Using, we get\sum_\delta(d)=x\sum_(f(d)/d)+O(x^).

We conclude that, \sum_ 1 = \frac+O(x^), where for this we used the relation\sum_n (f(n)/n)=\sum_n f(n^k)n^=\sum_n \mu(n)n^=\frac,which follows from the Möbius inversion formula.

In particular, the density of the square-free integers is \zeta(2)^=\frac.

Visibility of lattice points

We say that two lattice points are visible from one another if there is no lattice point on the open line segment joining them.

Now, if, then writing a = da2, b = db2 one observes that the point (a2, b2) is on the line segment which joins (0,0) to (a, b) and hence (a, b) is not visible from the origin. Thus (a, b) is visible from the origin implies that (a, b) = 1. Conversely, it is also easy to see that gcd(a, b) = 1 implies that there is no other integer lattice point in the segment joining (0,0) to (a,b).Thus, (a, b) is visible from (0,0) if and only if gcd(a, b) = 1.

Notice that

\varphi(n)
n
is the probability of a random point on the square

\{(r,s)\inN:max(|r|,|s|)=n\}

to be visible from the origin.

Thus, one can show that the natural density of the points which are visible from the origin is given by the average,\lim_ \frac\sum_ \frac = \frac=\frac.

\frac is also the natural density of the square-free numbers in . In fact, this is not a coincidence. Consider the k-dimensional lattice,

Zk

. The natural density of the points which are visible from the origin is \frac, which is also the natural density of the k-th free integers in .

Divisor functions

Consider the generalization of

d(n)

:\sigma_\alpha(n)=\sum_d^\alpha.

The following are true:\sum_\sigma_(n)=\begin\;\;\sum_\sigma_\alpha(n)=\fracx^+O(x^\beta) & \text \alpha>0, \\\;\;\sum_\sigma_(n)=\zeta(2)x+O(\log x) & \text \alpha=-1, \\\;\;\sum_\sigma_\alpha(n)=\zeta(-\alpha+1)x+O(x^) & \text\endwhere

\beta=max(1,\alpha)

.

Better average order

This notion is best discussed through an example. From \sum_d(n)=x\log x+(2\gamma-1)x+o(x)(

\gamma

is the Euler–Mascheroni constant) and \sum_\log n=x\log x-x+O(\log x),we have the asymptotic relation\sum_(d(n)-(\log n+2\gamma))=o(x)\quad(x\to\infty),which suggests that the function

logn+2\gamma

is a better choice of average order for

d(n)

than simply

logn

.

Mean values over

Definition

Let h(x) be a function on the set of monic polynomials over Fq. For

n\ge1

we define\text_n(h)=\frac\sum_h(f).

This is the mean value (average value) of h on the set of monic polynomials of degree n. We say that g(n) is an average order of h if\text_n(h) \sim g(n)as n tends to infinity.

In cases where the limit,\lim_\text_n(h) = cexists, it is said that h has a mean value (average value) c.

Zeta function and Dirichlet series in

Let be the ring of polynomials over the finite field .

Let h be a polynomial arithmetic function (i.e. a function on set of monic polynomials over A). Its corresponding Dirichlet series define to beD_(s)=\sum_ h(f)|f|^,where for

g\inA

, set

|g|=q\deg(g)

if

g\ne0

, and

|g|=0

otherwise.

The polynomial zeta function is then\zeta_(s)=\sum_ |f|^.

Similar to the situation in, every Dirichlet series of a multiplicative function h has a product representation (Euler product):D_(s) = \prod_ \left(\sum_^ h(P^) \left|P\right|^\right),where the product runs over all monic irreducible polynomials P.

For example, the product representation of the zeta function is as for the integers: \zeta_(s) = \prod_ \left(1 - \left|P\right|^\right)^.

Unlike the classical zeta function,

\zetaA(s)

is a simple rational function:\zeta_(s)=\sum_(|f|^)=\sum_ \sum_ q^ = \sum_(q^) = (1-q^)^.

In a similar way, If f and g are two polynomial arithmetic functions, one defines f * g, the Dirichlet convolution of f and g, by\begin(f*g)(m)&= \sum_ f(m) g\left(\frac\right) \\&= \sum_ f(a) g(b)\endwhere the sum extends over all monic divisors d of m, or equivalently over all pairs (a, b) of monic polynomials whose product is m. The identity

DhDg=Dh*g

still holds. Thus, like in the elementary theory, the polynomial Dirichlet series and the zeta function has a connection with the notion of mean values in the context of polynomials. The following examples illustrate it.

Examples

The density of the k-th power free polynomials in

Define

\delta(f)

to be 1 if

f

is k-th power free and 0 otherwise.

We calculate the average value of

\delta

, which is the density of the k-th power free polynomials in, in the same fashion as in the integers.

By multiplicativity of

\delta

:\sum_f \frac
^s
= \prod_ \left(\sum_^(|P|^)\right) = \prod_\frac = \frac = \frac = \frac

Denote

bn

the number of k-th power monic polynomials of degree n, we get\sum_\frac
^
=\sum_\sum_\delta(f)|f|^=\sum_b_q^.

Making the substitution

u=q-s

we get:\frac=\sum_^\infty b_u^.

Finally, expand the left-hand side in a geometric series and compare the coefficients on

un

on both sides, to conclude thatb_=\begin q^ & n\le k-1 \\ q^(1-q^) &\text\end

Hence,\text_(\delta) = 1-q^ = \frac

And since it doesn't depend on n this is also the mean value of

\delta(f)

.

Polynomial Divisor functions

In, we define\sigma _(m)=\sum_|f|^k.

We will compute

Aven(\sigmak)

for

k\ge1

.

First, notice that\sigma_(m)=h*\mathbb(m)where

h(f)=|f|k

and

I(f)=1  \forall{f}

.

Therefore,\sum_\sigma_(m)|m|^=\zeta_(s)\sum_h(m)|m|^.

Substitute

q-s=u

we get,\text=\sum_n\left(\sum_ \sigma_k(m)\right)u^n,and by Cauchy product we get,\begin\text&=\sum_n q^\sum_\left(\sum_h(m)\right)u^n \\&=\sum_n q^n u^n \sum_q^l q^u^l \\&=\sum_n \left(\sum_^q^q^\right) \\&=\sum_n \left(q^n\left(\frac\right)\right) u^n.\end

Finally we get that, \text_n\sigma_k=\frac.

Notice thatq^n \text_n\sigma_ = q^\left(\frac\right) = q^\left(\frac\right)

Thus, if we set

x=qn

then the above result reads\sum_ \sigma_k(m) = x^\left(\frac\right)which resembles the analogous result for the integers:\sum_\sigma_(n)=\fracx^+O(x^)

Number of divisors

Let

d(f)

be the number of monic divisors of f and let

D(n)

be the sum of

d(f)

over all monics of degree n.\zeta_A(s)^2= \left(\sum_|h|^\right)\left(\sum_g|g|^\right)= \sum_f\left(\sum_ 1 \right)|f|^= \sum_f d(f)|f|^=D_d(s)= \sum_^\infty D(n)u^where

u=q-s

.

Expanding the right-hand side into power series we get,D(n)=(n+1)q^n.

Substitute

x=qn

the above equation becomes:D(n)=x \log_q(x)+x which resembles closely the analogous result for integers \sum_^n d(k) = x\log x+(2\gamma-1) x + O(\sqrt), where

\gamma

is Euler constant.

Not much is known about the error term for the integers, while in the polynomials case, there is no error term. This is because of the very simple nature of the zeta function

\zetaA(s)

, and that it has no zeros.

Polynomial von Mangoldt function

The Polynomial von Mangoldt function is defined by:\Lambda_(f) = \begin\log |P| & \textf=|P|^k \text P \text k \ge 1, \\0 & \text\endwhere the logarithm is taken on the basis of q.

Proposition. The mean value of

ΛA

is exactly 1.

Proof.Let m be a monic polynomial, and let m = \prod_^ P_^ be the prime decomposition of m.

We have,\begin\sum_\Lambda_(f)&= \sum_ \Lambda_A\left(\prod_^l P_j^\right)= \sum_^l \sum_^\Lambda_A (P_j^i) \\&= \sum_^l \sum_^\log|P_j|\\&= \sum_^l e_j\log|P_j|= \sum_^l \log|P_j|^ \\&= \log\left|\left(\prod_^l P_i^\right)\right|\\&= \log(m)\end

Hence,\mathbb\cdot\Lambda_A(m)=\log|m|and we get that,\zeta_(s)D_(s) = \sum_\log\left|m\right|\left|m\right|^.

Now,\sum_m |m|^s = \sum_n \sum_ u^n=\sum_n q^n u^=\sum_n q^.

Thus,\frac\sum_m |m|^s = -\sum_n \log(q^n)q^ =-\sum_n \sum_ \log(q^n)q^= -\sum_f \log\left|f\right|\left|f\right|^.

We got that:D_(s) = \frac

Now,\begin\sum_\Lambda_A (m)|m|^&= \sum_n \left(\sum_\Lambda_A(m)q^\right)= \sum_n \left(\sum_ \Lambda_A(m)\right)u^n \\&= \frac = \frac \\&= \log(q) \sum_^\infty q^n u^n\end

Hence,\sum_\Lambda_A (m)=q^n \log(q),and by dividing by

qn

we get that,\text_n \Lambda_A(m)=\log(q)=1.

Polynomial Euler totient function

Define Euler totient function polynomial analogue,

\Phi

, to be the number of elements in the group

(A/fA)*

. We have,\sum_\Phi(f)=q^(1-q^).

See also

References