Docsity

Solution of Assignment 7 | Enumerative Combinatorics | MATH 630, Assignments of Mathematics

Toggle sidebar
bg1
MATH 630–600. Enumerative Combinatorics
Solution of Assignment 7.
1. Let nbe a square-free integer, n=p1p2· · · pkwith the pidistinct primes. Show that the
maximum number of divisors of nwhich do not divide one another is k
bk/2c.
Solution. Identify the divisor m=pi1pi2· · · pirwith the subset {i1, i2, . . . , ir}of [n], then
the poset of divisors of n, ordered by division, is isomorphic to the Boolean lattice Bn. By
Sperner’s Theorem, the size of a maximal antichain is k
bk/2c.
2. Fix k∈N. For each n∈Z+, let
σk(n) = X
d|n
dk.
(a) Check that σ0(n) = ν(n) (the number of divisors of n) and σ1(n) = σ(n) (the sum of
the divisors of n).
(b) Let p1, . . . , prbe the different prime divisors of n. Show that
nk=σk(n)−X
i
σk(n
pi
) + X
i<j
σk(n
pipj
) + · · · + (−1)rσk(n
p1· · · pr
).
(c) Verify this identity when n= 12 and k= 2.
Solution. It is the classical Mobius inversion formula in number theory. We have
nk=X
d|n
φ(d)σk(n
d),(1)
where φ(d) is the Mobius function in number theory. Note that µ(d) = 0 if dhas a square
factor,and µ(d) = rif dis the product of rdifferent primes. Then equation (1) can be
simplified by summing over those dwith distinct prime factors.
Part (c) is easy to check once you write down the formulas.
3. For each n∈Z+, let
φ(n) := #{i∈[n] : gcd(i, n) = 1}.
This is the Euler function. For each positive divisor dof n, let
Φ(d, n) := {i∈[n] : gcd(i, n) = d}.
(a) Show that there is a disjoint decomposition
[n] = [
d|n
Φ(d, n),
and a bijection Φ(d, n)∼
=Φ(1, n/d).
Solution. The decomposition is obtained by classifying elements in [n] by its gcd with
n. For the bijection, note that gcd(i, n) = diff i=dk and gcd(k, n/d) = 1.
1
pf3
pf4
pf5

Partial preview of the text

Download Solution of Assignment 7 | Enumerative Combinatorics | MATH 630 and more Assignments Mathematics in PDF only on Docsity!

MATH 630–600. Enumerative Combinatorics

Solution of Assignment 7.

  1. Let n be a square-free integer, n = p 1 p 2 · · · pk with the pi distinct primes. Show that the maximum number of divisors of n which do not divide one another is

( (^) k bk/ 2 c

Solution. Identify the divisor m = pi 1 pi 2 · · · pir with the subset {i 1 , i 2 ,... , ir} of [n], then the poset of divisors of n, ordered by division, is isomorphic to the Boolean lattice Bn. By Sperner’s Theorem, the size of a maximal antichain is

( (^) k bk/ 2 c

  1. Fix k ∈ N. For each n ∈ Z+, let σk(n) =

d|n

dk.

(a) Check that σ 0 (n) = ν(n) (the number of divisors of n) and σ 1 (n) = σ(n) (the sum of the divisors of n). (b) Let p 1 ,... , pr be the different prime divisors of n. Show that

nk^ = σk(n) −

i

σk( n pi

i<j

σk( n pipj

) + · · · + (−1)rσk( n p 1 · · · pr

(c) Verify this identity when n = 12 and k = 2. Solution. It is the classical Mobius inversion formula in number theory. We have

nk^ =

d|n

φ(d)σk( n d

where φ(d) is the Mobius function in number theory. Note that μ(d) = 0 if d has a square factor,and μ(d) = r if d is the product of r different primes. Then equation (1) can be simplified by summing over those d with distinct prime factors. Part (c) is easy to check once you write down the formulas.

  1. For each n ∈ Z+, let φ(n) := #{i ∈ [n] : gcd(i, n) = 1}. This is the Euler function. For each positive divisor d of n, let

Φ(d, n) := {i ∈ [n] : gcd(i, n) = d}.

(a) Show that there is a disjoint decomposition

[n] =

d|n

Φ(d, n),

and a bijection Φ(d, n) ∼= Φ(1, n/d). Solution. The decomposition is obtained by classifying elements in [n] by its gcd with n. For the bijection, note that gcd(i, n) = d iff i = dk and gcd(k, n/d) = 1.

(b) Deduce that n =

d|n

φ(d).

Solution. By the bijection in (a), |Φ(d, n)| = |Φ(1, n/d)| = φ(n/d). Hence

n =

d|n

|Φ(d, n)| =

d|n

φ(n/d) =

d|n

φ(d).

The last equation is obtained by a change of index. (c) Deduce that φ(n) = n

p|n

p

where p ranges over prime factors of n. Solution. By Mobius inversion formula,

φ(n) =

d|n

μ(d) n d

= n[1 −

i

pi

i<j

pipj

− · · · + ((−1)r^

p 1 · · · pr

where p 1 ,... , pr from the set of prime factors of n, (the argument is similar to part (b) of Problem 2. ) The last formula is just n

p|n(1^ −^

1 p ).

  1. Given a subspace V of Fnq , let α(V ) be the number of subsets of V and β(V ) the number of spanning subsets of V. Here a subset W of V is spanning if V equals the vector space spanned by all the vectors in W. (On the other hand, the vectors in W are not necessarily independent.)

(a) Show that α(V ) = 2q dim(V ) and α(V ) − 1 =

U ≤V

β(U ).

(Note that the empty subset of V does not span a subspace. ) Solution. The first equation follows from the fact that there are qdim(V^ )^ many vectors in V. The second one is true since all the non-empty subset of V span a subspace U of V. (b) Deduce that the number of spanning subsets of Fnq is

∑^ n

k=

n k

q

(−1)n−kq(

n−k 2 )(2qk − 1).

Solution. By Mobius inversion formula,

β(V ) =

U ∈Ln(V )

μ(U, V )(α(U ) − 1).

Now, if U is of dimension k, then α(U ) = 2q k , and μ(U, V ) = μn−k in Ln(V ), which is (−1)n−kq(

n− 2 k) .

  1. Find the unique power series F (x) such that for all n ∈ N, we have [xn]F (x)n+1^ = 1.

Solution. Let y be a formal power series satisfying y = xF (y). By Lagrange inversion formula with k = 1, n[xn]y = [xn−^1 ]F (y)n^ = 1. So y =

n≥ 1 x n/n = − log(1−x). Hence y<− 1 > (^) = 1−e−x. So F (x) = x/y<− 1 > (^) = x/(1−e−x).

  1. (Optional) A tree on { 0 , 1 ,... , n} is called alternating if for every vertex i all neighbors are either greater than i, or all are smaller than i. Let hn be the number of alternating trees on { 0 , 1 ,... , n}.

(a) List all the alternating trees for h 2. (b) Prove that H(z) =

n≥ 0 hn

zn n! satisfies the equation

H(z) = e z 2 (H(z)+1) .

Solution. Removing the vertex 0 from an alternating tree on { 0 , 1 ,... , n}, one gets a forest of rooted alternating trees, where the root is a vertex whose neighbors are greater than it. To count the number of rooted alternating trees with the root being a “local minimal”, note that if the vertex v is a local minimal in an alternating tree T , then it is a local maximal when we re-label vertex i by n − i, for each i. Thus the total number of such rooted trees on n vertices is nh(n − 1)/2, for n ≥ 2. For n = 1, it is 1. Therefore, h(n) =

π=B 1 ,...,Bk ∈Πn

f (#B 1 )f (#b 2 ) · · · f (#Bk),

where f (n) = nh(n − 1)/2 for n ≥ 2, and f (1) = 1. By the exponential formula,

H(z) = exp(

n≥ 1

h(n)

zn n! ) = exp(

z 2 (H(z) + 1)).

(c) Deduce from above that

hn =

2 n

∑n

k=

n k

(k + 1)n−^1.

Solution. Set A(z) = z(H(z) + 1). Then the equation in part (a) becomes Az − 1 = eA/^2 , so A = z(1 + e

A 2 ). Thus A<−^1 >^ = z 1 + ez/^2

By Lagrange

[zn+1]A = hn n!

n + 1 [zn](1 + ez/^2 )n+

=

n + 1

[zn]

k

n + 1 k

ekz/^2

n + 1

[zn]

k

n + 1 k

i

ki 2 i

zi i!

n + 1

2 nn!

n∑+

k=

n + 1 k

kn

2 nn!

∑^ n

k=

n k

(k + 1)n−^1.

The claim follows.