Introduction to number theoretic functions ¨ Umit I¸slak∗ January 14, 2018

Abstract We provide a first introduction to multiplicative functions and M¨obius inversion formula.

1

Arithmetic functions

Definition 1.1 A function whose domain is the set of positive integers is called a number theoretic function, or an arithmetic function. Definition 1.2 (a) We say that an arithmetic function f , which is not identically zero, is multiplicative if it has the property f (mn) = f (m)f (n) for all pairs of relatively prime positive integers m and n.1 (b) An arithmetic function f is said to be additive if it has the property f (mn) = f (m) + f (n) for all pairs of relatively prime positive integers m and n. Following properties collect some properties of multiplicative functions. Proposition 1.1 (i) If f is multiplicative, then f (1) = 1. (ii) If f is multiplicative, and n = pa11 pa22 · · · par r , where pi ’s are distinct primes, then f (n) = f (pa11 )f (pa22 ) · · · f (par r ). (iii) If f and g are multiplicative functions such that f (pk ) = g(pk ) for every prime p and k ≥ 1, then f = g. Problem 1.1 Prove Lemma 1.1. Similar properties also hold for additive functions. Leaving it to the reader, we continue stating more properties of multiplicative functions. ∗

Bo˘ gazi¸ci University, Mathematics department, Istanbul, Turkey. email: [email protected] Recall that positive integers m and n are relatively prime if their greatest common divisor is 1. 1 is relatively prime with any positive integer. 1

1

2

Examples and exercises

Example 2.1 It can be easily checked that the function f (n) = 1, n ≥ 1 is a multiplicative function. Example 2.2 Define τ : N → N by setting τ (n) = the number of all natural divisors of n = #{d > 0 : d | n}. Then τ is a multiplicative function. In order to see this it is useful to note that for a given n = pα1 1 pα2 2 . . . pαr r , where pi ’s are distinct primes, and αi ≥ 1, τ (n) =

r Y (αi + 1). i=1

The rest of the argument is immediate. Example 2.3 Define σ : N → N by setting σ(n) = the sum of all natural divisors of n =

X

d.

d|n

Then σ is a multiplicative function. To see that this is the case, observe that if n = pα1 1 pα2 2 . . . pαr r , where pi ’s are distinct primes, and αi ≥ 1, then we can write σ(n) =

r Y pαi +1 − 1 i

i=1

pi − 1

.

The rest of the argument is easy. Example 2.4 The function π : N → N defined by π(n) = the product of all natural divisors of n = Πd | n d is not multiplicative. Problem 2.1 Show that π defined in previous problem is not multiplicative. Problem 2.2 Show that the function |µ(n)|, which is 1 if n is not divisible by a square and 0 otherwise, is multiplicative. Find the value of the function when n is a prime power, and thereby find a formula for its value on any integer n. (This is the characteristic function of square-free integers.) Problem 2.3 Show that if {f (n)}∞ n=1 is a multiplicative function, then so is X g(n) = f (d), n = 1, 2, . . . . d|n

2

3

Euler totient function

We will need to use Euler’s totient function a few times below, so we discuss it briefly here. Letting m be a positive integer, Euler’s totient function φ(m) is defined to be the number of integers between 1 and m which are relatively prime to m. Clearly, if m is prime, then φ(m) = m − 1. For the more general case, if the distinct prime factors of m are p1 , . . . , pn , we claim that       n  Y 1 1 1 1 1− ··· 1 − =m 1− . φ(m) = m 1 − p1 p2 pn pi i=1

To see this, let the set of objects in question be {1, 2, . . . , m}, and for 1 ≤ i ≤ n let ‘property i’ be that a number is divisible by pi . Then the integers in that set which are relatively prime to m are precisely those which have none of the properties 1, . . . , n. So we must subtract the number of integers with at least one of the properties from m to give (with the usual notation) m −N (1) − N (2) · · · − N (n) +N (1, 2) + N (1, 3) + · · · + N (n − 1, n) −N (1, 2, 3) − N (1, 2, 4) − · · · − N (n − 2, n − 1, n) +··· +(−1)n N (1, 2, . . . , n). Now N (i) is the number of integers in {1, 2, . . . , m} which are divisible by pi and that is precisely m/pi . Similarly, N (i, j) = m/pi pj , etc. Hence the required number of integers relatively prime to m is given by m

m m − − ··· p1 p2 m m + + + ··· p1 p2 p1 p3 m m − − − ··· p1 p2 p3 p1 p2 p4 +··· m +(−1)n . p1 p2 · · · pn −

It is now straightforward to check that this agrees with the given factorized version of φ(m), and our claim is proven. Problem 3.1 Give an alternative proof for the formula for Euler’s totient function by using induction. Remark 3.1 (i) It can be shown that the totient function satisfies √ φ(n) ≥ n for all n except n = 2 and n = 6. In particular, the only values for which φ(n) = 2 are n = 3, 4 and 6. (ii) When n is composite, one may prove that √ φ(n) ≤ n − n. Proposition 3.1 Decide whether φ(n) is multiplicative, additive or neither? 3

4

M¨ obius function and M¨ obius identity

Definition 4.1 The M¨ obius µ function is defined by   if n = 1. 1, µ(n) = 0, if n is not square free  Q  (−1)k if n = ki=1 pi . as

Note that we could alternatively define the M¨obius µ function by defining it on prime powers   if k = 0 1, k µ(p ) = −1, if k = 1   0, if k ≥ 2,

and taking its multiplicative extension. The following identity is of extreme importance. Theorem 4.1 (M¨ obius identity) For any n ∈ N, we have X µ(n) = e(n), d:d|n

where

( 1, e(n) = 0,

if n = 1 otherwise.

Proof: The case for n = 1 is clear. For n ≥ 2, if we let then we have X d:d|n

µ(d) =

X

Qk

αi i=1 pi

be the prime factorization of n,

X

  Y µ  pj 

I⊂{1,2,...,k}

j∈I

µ(d) =

d:d|n, d is square free

X

=

(−1)|I|

I⊂{1,2,...,k}

=

k X

X

(−1)|I|

j=0 I⊂{1,2,...,k},|I|=j

=

k   X k j=0

j

(−1)j = 0. 

Example 4.1 This example is for the use of M¨ obius identity on removing coprimality condition in summations. Suppose that we are given some integer k ≥ 1, and that we are willing to evaluate

4

P

n:(n,k)=1 f (n).

X n:(n,k)=1

Then we have f (n) =

X

f (n)e((n, k)) =

X n

n

X

f (n)

X

µ(d) =

f (n)µ(d)

n,d:d|n,d|k

d:d|(n,k)

=

X X

f (n)µ(d)

d:d|k n:d|n

=

X

µ(d)

=

f (n)

n:d|n

d:d|k

X

X

µ(d)

d:d|k

X

f (dm).

m≥1

That is, X

f (n) =

X

µ(d)

d:d|k

n:(n,k)=1

X

f (dm)

m≥1

. It is often the case that dealing with the right-hand side is easier than the left-hand side with the coprimality condition. Example 4.2 As an example demonstrating the use of our previous observation we use the Euler totient function. For k ≥ 1, we have φ(k) =

X

1=

n:1≤n≤k,(n,k)=1

X

µ(d)

d:d|k

X

1=

n:1≤n≤k,d|n

X d:d|k

k µ(d) . d

In particular, we reached at the following conclusion: X φ(k) 1 = µ(d) . k d d:d|k

For other examples, including one on Ramanujan sums, see Hildebrandt. We conclude this section with some notes. P Remark 4.1 (i) Prime number theorem is equivalent to limx→∞ x1 n≤x µ(n) = 0. This has the following interpretation: If a square free integer is chosen at random, then it is equally likely to have an even and an odd number of prime P factors. √ (ii) Merten’s conjecture states that n≤x µ(n) ≤ x for all x ≥ 1. Staying open for more than a century it was disproved by Odlyzko and H. te Riele in 1985, where they show that P n≤x µ(n) lim sup > 1.06. x x→∞ It is still open whether 1.06 can be replaced by an arbitrary c > 1.

5

5

Dirichlet generating functions

Given a sequence {an }n≥1 , we say that a formal series X an nx

D(x) =

n≥1

= a1 +

a3 a4 a2 + x + x + ··· x 2 3 4

is the Dirichlet series generating function of the sequence. The importance of Dirichlet series stems directly from their multiplication rule. Suppose that D1 and D2 are Dirichlet series of the sequences an and bn , respectively. What is then the sequence generated by the product D1 (x)D2 (x)? Observe that D1 (x)D2 (x) = (a1 + a2 2−x + a3 3−x + · · · )(b1 + b2 2−x + b3 3−x + · · · ) = (a1 b1 ) + (a1 b2 + a2 b2 )2−x + (a1 b3 + a3 b1 )3−x +(a1 b4 + a2 b2 + a4 b1 )4−x + · · · So, what is the coefficient of n−x in D1 (x)D2 (x)? The pattern above shows that it is the sum of all products of a’s and b’s where the product of their subscripts is n, i.e., it is X ar bs . (r,s): rs=n

Now if rs = n then r and s are divisors of n, so the above sum can also be written as X ad b nd , d|n

where d | n means that d divides n. Here is the conclusion. Theorem 5.1 If D1 and D2 are Dirichlet series {an }n≥0 and {bn }n≥0 , then nP of the sequences o∞ n D1 D2 is the Dirichlet series of the sequence . d | n ad b d n=1

Following a similar reasoning we may also understand the kth power of a Dirichlet series D(x). Observe that we have  k X D(x)k =  an n−x  n≥1

=

X

an1 . . . ank (n1 n2 . . . nk )−x

n1 ,...,nk ≥1

! =

X n≥1

X

n−x

an1 . . . ank

.

n1 ···nk =n

So, we reach at Theorem 5.2 D(x)k is the Dirichlet series of a sequence whose nth member is the sum, extended over all ordered factorizations of n into k factors, of the products of the members of the sequence whose subscripts are the factors in that factorization. 6

Example 5.1 What is the Dirichlet series corresponding to the constant sequence an = 1, n ≥ 1? It is X 1 ζ(x) = = 1−x + 2−x + 3−x + · · · , nx n≥1

which is known to be Riemann zeta function. Next, what sequence does ζ 2 (x) generate? We have X 1 · 1 = d(n), [n−x ]ζ 2 (x) = d|n

where d(n) is the number of divisors of the integer n. One can go on and study further examples of interesting number- theoretic sequences that are generated by relatives of the Riemann zeta function, but there is a somewhat breathtaking generalization that takes in all of these at a single swoop, so lets prepare the groundwork for that in next section. Problem 5.1 Find the Dirichlet generating functions of the following two sequences: i an = nα , n = 1, 2, . . .. ii an = ln n, n = 1, 2, . . .. Problem 5.2 Find the Dirichlet generating funtion of the Von Mangoldt function defined by ( 0, otherwise Λ(n) = log p, if n = pm .

6

Euler’s prime number identity

Theorem 6.1 (Euler’s prime number identity) Let f be a multiplicative number-theoretic function. Then we have the formal identity ∞ X f (n) n=1

nx

 = Πp 1 + f (p)p−x + f (p2 )p−2x + f (p3 )p−3x + · · · ,

where the product on right-hand side is taken over all prime numbers p. Proof: Each factor in the product on right-hand side is an infinite series. The product looks like this, when spread out in detail: (1 + f (2)2−x + f (22 )2−2x + f (23 )2−3x )× 1 + f (3)3−x + f (32 )3−2x + f (33 )3−3x )×

(1)

(1 + f (5)5−x + f (52 )5−2x + f (53 )5−3x )× (1 + f (7)7−x + f (72 )7−2x + f (73 )7−3x ) × · · · Let n now be some fixed integer, whose prime factorization is given by n = pa11 pa22 · · · par r . Q In order to obtain a term that involves n−s , i.e., that involves p−ai x ’s, we must choose the 1 term in every parenthesis on the right side of (1), except for those parentheses that involve the primes 7

pi that actually occur in n. Inside a parenthesis that belongs to pi , we must choose the one and only term in which pi is raised to the power with which it actually occurs in n, else we wont have ix a chance of getting n−x . Thus we are forced to choose the term f (pai i )p−a out of the parenthesis i that belongs to pi . This means that the coefficient of n−x in the end will be Y f (paai ) = f (n), i

since f is multiplicative.  The fact that a multiplicative function is completely determined by its values on all prime powers is reflected in Euler’s prime number identity.. Indeed, on the right side we see only the values of f at prime powers, but on the left, all possible values appear. Example 6.1 If we take the multiplication function f (n) = 1 for all n, then   1 1 −x −2x = ζ(x) = Πp (1 + p + p + · · · ) = Πp . 1 − p−x Πp (1 − p−x )

7

M¨ obius inversion

The classical M¨ obius inversion formula was introduced into number theory during the 19th century by August Ferdinand M¨ obius. Recall that the M¨obius function was defined as the multiplicative extension of   +1, if a = 0 a µ(p ) = −1, if a = 1   0, if a ≥ 2. Theorem 6.1 applied on µ gives X µ(n) n≥1

Now since Πp

(1 − p−x )

=

1 ζ(x)

= Πp (1 − p−x ).

nx

from our last example in previous subsection, we may conclude that X µ(n) 1 = . ζ(x) nx n≥1

1 That is ζ(x) is the Dirichlet series for the sequence {µ(n)}n≥1 . Why is this observation useful? Let’s see on an example.

Example 7.1 Assume that the two sequences {an }n≥1 and {bn }n≥1 are related to each other by X an = bd , n ≥ 1. d|n

How can we solve for the b’s in terms of a’s? Let the corresponding Dirichlet generating functions be A(s) and B(s). Then by Theorem 5.1 A(x) = B(x)ζ(x), or B(x) = Now again by Theorem 5.1, bn =

A(x) . ζ(x)

X n µ ad . d d|n

8

We just arrived at the celebrated M¨obius Inversion Formula of number theory. Theorem 7.1 (M¨ obius Inversion Formula) Assume that the two sequences {an }n≥1 and {bn }n≥1 are related to each other by X bd , n ≥ 1. an = d|n

Then bn =

X n µ ad . d d|n

Problem 7.1 Prove the following variation of the M¨ obius inversion formula. Let {an (x)} and {bn (x)} be two sequences of functions that are connected by the relation X an (x) = b nd (xd ), n = 1, 2, . . . . d|n

Then we have bn (x) =

X  n  n/d µ ax . d d d|n

7.1

Application I: Primitive bit strings

How many strings of n 0s and 1s are primitive, in the sense that such a string is not expressible as a concatenation of several identical smaller strings? For instance, 100100100 is not primitive, but 1101 is. There are a total of 2n strings of length n. Suppose f (n) of these are primitive. Every string of length n is uniquely expressible as a concatenation of some number, n/d, of identical primitive strings of length d, where d is a divisor of n. Thus we have X 2n = f (d) n = 1, 2, . . . . d|n

Therefore f (n) =

X n µ 2d d

n = 1, 2, . . .

d|n

7.2

Application II: Cyclotomic polynomials

In general, the equation xn = 1 has n roots that are given by wi = e2πik/n , k = 0, 1, . . . , n − 1. The primitive nth roots of unity are defined as the subset {e2πik/n : 0 ≤ k ≤ n − 1, (k, n) = 1}. Recalling that the number of positive integers that are relatively prime to n is given by Euler’s totient function, we see that the set of primitive nth roots of unity contain φ(n) terms. The question here is to determine the polynomial of order φ(n) which has the primitive nth roots of unity as its roots. This polynomial is called nth order cyclotomic polynomial, and is denoted by Φn (x). In other words, the cyclotomic polynomials are given by Y Φn (x) = (x − e2πik/n ), n ≥ 2. 0≤k≤n−1, (k,n)=1

9

We will need the following fact whose proof is left for you: Fact: Φn (x) satisfies Y

Φd (x) = 1 − xn .

d|n

Using this we have X

log Φd (x) = log(1 − xn ),

d|n

which after usign M¨ obius inversion gives Y (1 − xd )µ(n/d) , Φn (x) =

n = 1, 2, . . . .

d|n

Proposition 7.1 The nth order cyclotomic polynomial is given by Y Φn (x) = (1 − xd )µ(n/d) . d|n

Example 7.2 Using the proposition, it is immediate that Φ12 (x) = (1 − x)µ(12) (1 − x3 )µ(4) (1 − x4 )µ(3) (1 − x6 )µ(2) (1 − x12 )µ(1) (1 − x2 )(1 − x12 ) = (1 − x4 )(1 − x6 ) = 1 − x2 + x4 .

8

The Von Mangoldt function

Definition 8.1 The Von Mangoldt function is defined by ( 0, otherwise Λ(n) = log p, if n = pm . Problem 8.1 Check that Λ is neither additive nor multiplicative. Theorem 8.1 We have X

Λ(d) = log n.

d:d|n

Proof: Letting n =

Qk

αi i=1 pi

be the prime factorization of n,

X d:d|n

Λ(d) =

αj k X X

Λ(pαj r )

=

j=1 r=1

αj k X X

log p

j=1 r=1

=

k X

αj log p

j=1

=

k X

α

log(pj j )

j=1

= log

k Y i=1

= log n. 10

! pαi i

 In the rest of this section, let’s provide a little bit of motivation for the definition of the Von Mangoldt function.

9

Exercises

Problem 9.1 Let f be a multiplicative function satisfying limpm →∞ f (pm ) = 0. Show that limn→∞ f (n) = 0. Problem 9.2 Show that, for every positive integer n ≥ 2, X n k = φ(n). 2 1≤k≤n−1,(k,n)=1

Problem 9.3 Evaluate the function f (n) =

X

µ(d)

d2 |n

(where the summation runs over all positive integers d such that d2 |n), in the sense of expressing it in terms of familiar arithmetic functions. Problem 9.4 Let f (n) = arithmetic functions.

P

d|n µ(d) log d.

Find a simple expression for f (n) in terms of familiar

Problem 9.5 Let f (n) = #{(n1 , n2 ) ∈ N2 : [n1 , n2 ] = n} where [n1 , n2 ] is the least common multiple of n1 and n2 . Show that f is multiplicative and evaluate f at prime powers.

References [1] Bryant, Victor. Aspects of Combinatorics: A wide-ranging introduction. Cambridge University Press, 1993. [2] Hildebrand, A. J., Introduction to analytic number theory, 2005. [3] Wilf, Herbert S. Generating functionology. Elsevier, 2013.

11

Introduction to number theoretic functions

Jan 14, 2018 - generated by relatives of the Riemann zeta function, but there is a somewhat breathtaking general- ization that takes in all of these at a single ...

249KB Sizes 0 Downloads 143 Views

Recommend Documents

Number Theoretic Evolutionary Algorithm for ...
In this paper, firstly the main concepts of differential evolution algorithm (DEA) ..... [5] Storn R. Differential evolution design of an IIR2filter. IEEE Int. Conf. on ...

[Course Number]--Introduction to Risk Management
information. 2. Your oil company is planning to explore an oilfield off the New Zealand coast. 3. Your theater company is planning to perform a controversial drama about human rights and internet censorship in China. 4. Your startup is launching a ne

a computational introduction to number theory and algebra pdf ...
number theory and algebra pdf. Download now. Click here if your download doesn't start automatically. Page 1 of 1. a computational introduction to number ...

Constrained Information-Theoretic Tripartite Graph Clustering to ...
1https://www.freebase.com/. 2We use relation expression to represent the surface pattern of .... Figure 1: Illustration of the CTGC model. R: relation set; E1: left.

Constrained Information-Theoretic Tripartite Graph Clustering to ...
bDepartment of Computer Science, University of Illinois at Urbana-Champaign. cMicrosoft Research, dDepartment of Computer Science, Rensselaer ...

A Search-Theoretic Approach to Monetary Economics
We use information technology and tools to increase productivity and facilitate new forms ... Minneapolis or the Federal Reserve System. 1There is a voluminous ...

Information Theoretic Approach to Extractive Text ...
A Thesis. Submitted For the Degree of. Doctor of Philosophy in the Faculty of Engineering by. G.Ravindra. Supercomputer Education and Research Center. Indian Institute of Science. BANGALORE – 560 012. FEBRUARY 2006. Page 2. i [email protected]. FEBRUARY

A Game Theoretic Approach to CSMA/CA Networks
If we setting too cheap, then every one would asks for ... analytical results in this area or simulation. ... an important transaction over the internet you are willing to pay more than a person who just brows ... However, by best of my knowledge,.

A Search-Theoretic Approach to Monetary Economics
and Department of Economics, University of Min- nesota ... tion, the University of Pennsylvania Research Founda- ..... fines a correspondence from fl to best re-.

CONVEXITY OF QUOTIENTS OF THETA FUNCTIONS 1. Introduction ...
Jacobi theta function, Weierstrass elliptic function, Monotonicity, Heat equa- tion. ... Figures 1 and 2 seem to indicate that these quotients are convex on 0

CONVEXITY OF QUOTIENTS OF THETA FUNCTIONS 1. Introduction ...
CONVEXITY OF QUOTIENTS OF THETA FUNCTIONS. 3 this is indeed true. Theorem 1.2. For fixed u and v such that 0 ≤ u

A Game-Theoretic Approach to Apprenticeship ... - Semantic Scholar
The following lemma, due to Kearns and Singh [4] (Lemma 7), shows that MZ is essentially a pessimistic estimate for M. Lemma 3. Let M = (S, A, γ, θ, φ) be a MDP/R where φ(s) ∈ [−1, 1]k, and let Z ⊆S×A. Then for all w ∈ Sk and ψ ∈ Ψ,

Submodular Functions: from Discrete to Continuous Domains
Extension to continuous domains. – Application: proximal operator for non-convex regularizers. • Preprint available on ArXiv, second version (Bach, 2015) ...

A Game Theoretic Approach to CSMA/CA Networks
by letting the user to wait for a shorter time (a shorter contention windows). ... ti and ti +δ, then message can be received by base station (receiver) correctly;.

decision-theoretic planning a dissertation submitted to ...
I certify that I have read this dissertation and that in my opinion it is fully adequate, in scope and quality ...... The Full Decision Tree Constructed by Build-Tree .

AN ESTIMATION-THEORETIC APPROACH TO ... - Research at Google
and spatially neighboring pixels to build statistical models for noise filtering, this work first ..... and R. Ponti, “Statistical analysis of the 2D-DCT coeffi- cients of the ...

A Process-Theoretic Approach to Supervisory Control ...
change during product development. This issue in control software design gave rise to supervisory control theory of discrete-event systems [1], [2], where ...

Applications of Homogeneous Functions to Geometric Inequalities ...
Oct 11, 2005 - natural number, f(x) ≥ 0, yields f(tx) ≥ 0 for any real number t. 2. Any x > 0 can be written as x = a b. , with a, b ... s − b, x3 = √ s − c, yields f. √ s(. √ s − a,. √ s − b,. √ s − c) = △. Furthermore, usi

Decision-Theoretic Planning
allows us to develop a strict (and tight) upper bound on the utility of the plan that ...... drink-coffee: Coffee has an uncertain effect on Harvey's level of alertness ...

A Game-Theoretic Approach to Apprenticeship ... - Semantic Scholar
[1] P. Abbeel, A. Ng (2004). Apprenticeship Learning via Inverse Reinforcement Learning. ... Near-Optimal Reinforcement Learning in Polynomial Time. Ma-.