• 沒有找到結果。

Discrete Mathematics

N/A
N/A
Protected

Academic year: 2022

Share "Discrete Mathematics"

Copied!
16
0
0

加載中.... (立即查看全文)

全文

(1)

Discrete Mathematics

WEN-CHING LIEN Department of Mathematics National Cheng Kung University

2008

(2)

5.5: The Pigeonhole Principle

The Pigeonhole Principle:

If m pigeons occupy n pigeonholes and m >n, then at least one pigeonhole has two or more pigeons roosting in it.

Example (5.39)

An office employs 13 file clerks, so at least two of them must have birthdays during the same month.

Here we have 13 pigeons (the file clerks) and 12 pigeonholes (the months of the year).

(3)

5.5: The Pigeonhole Principle

The Pigeonhole Principle:

If m pigeons occupy n pigeonholes and m >n, then at least one pigeonhole has two or more pigeons roosting in it.

Example (5.39)

An office employs 13 file clerks, so at least two of them must have birthdays during the same month.

Here we have 13 pigeons (the file clerks) and 12 pigeonholes (the months of the year).

(4)

5.5: The Pigeonhole Principle

The Pigeonhole Principle:

If m pigeons occupy n pigeonholes and m >n, then at least one pigeonhole has two or more pigeons roosting in it.

Example (5.39)

An office employs 13 file clerks, so at least two of them must have birthdays during the same month.

Here we have 13 pigeons (the file clerks) and 12 pigeonholes (the months of the year).

(5)

Let SZ+,where|S| =37.

Then S contains two elements that have the same remainder upon division by 36.

Example (5.47)

Let mZ+,with m odd.

Prove that there exists a positive integer n such that m divides 2n−1

(6)

Example (5.42)

Let SZ+,where|S| =37.

Then S contains two elements that have the same remainder upon division by 36.

Example (5.47)

Let mZ+,with m odd.

Prove that there exists a positive integer n such that m divides 2n−1

(7)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(8)

Example (5.49)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(9)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(10)

Example (5.49)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(11)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(12)

Example (5.49)

Let us start by considering two particular examples:

1 Note how the sequence 6,5,8,3,7 (of length 5) contains the decreasing subsequence 6,5,3 (of length 3).

2 Note how the sequence 11,8,7,1,9,6,5,10,3,12 (of length 10) contains the increasing subsequence 8,9,10,12 (of length 4).

These two instances demonstrate the general result:

For each nZ+, a sequence of n2+1 distinct real numbers contains a decreasing or increasing subsequence of length n+1.

To verify this claim let a1,a2, . . . ,an2+1be a sequence of n2+1 distinct real numbers.

...continued

(13)

For 1≤kn +1,let

xk =the maximum length of a decreasing subsequence that ends with ak,and

yk =the maximum length of an increasing subsequence that ends with ak.

(14)

For 1≤kn2+1,let

xk =the maximum length of a decreasing subsequence that ends with ak,and

yk =the maximum length of an increasing subsequence that ends with ak.

(15)

For 1≤kn +1,let

xk =the maximum length of a decreasing subsequence that ends with ak,and

yk =the maximum length of an increasing subsequence that ends with ak.

(16)

Thank you.

參考文獻

相關文件

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung

W EN -C HING L IEN Department of Mathematics National Cheng Kung