鴿巢原理

Pigeonhole principle

EXT : Pigeonhole Principle

Let q1,q2,qnq_1,q_2,\cdots q_n be positive integer, put n+1+i=1nqi -n + 1 + \sum_{i=1}^{n} q_i items into nn containers, either the first contains at least q1q_1 items, or the second contains at least q2q_2 items, …, or the nnth contains at least qnq_n items.

中國剩餘定理(CRT)

m1,m2,,mrN m_1,m_2, \cdots , m_r \in \mathbb{N} are pairwise coprime , so for all a1,a2,,ar a_1 , a_2 , \cdots ,a_r we can find a xx s.t.

x=ai(modmi)i{1,2,,r} x = a_i ( \bmod m_i ) \quad \forall i \in \{1,2 ,\cdots, r\}

let M=i=1rmiM = \prod _{i=1}^{r} m_i , tit_i is the inverse element for Mmi(modmi) {M \over m_i} (\bmod m_i).

x=i=1raiMmitix = \sum_{i=1}^{r} a_i {M \over m_i} t_i is a solution

Ramsey 定理

Ramsey定理實際上是鴿巢原理的加強形式的擴展。

問題的引入

K6K3,K3K_6 \rightarrow K_3,K_3K6K_6中僅有紅藍兩種顏色的邊,一定存在一個紅色的K3K_3或者藍色的K3K_3

Ramsey 定理

若存在最小整數pp使得KpKm,KnK_p \rightarrow K_m,K_n,記做p=r(m,n)p = r(m,n)爲Ramsey數,這樣的數一定存在。

Ramsey數的結論

  1. r(2,n)=r(n,2)=n r(2,n) = r(n,2) = n
  2. r(m,n)r(m1,n)+r(m,n1)r(m,n) \le r(m-1,n) + r(m,n-1)
  3. r(3,4)=9r(3,4) = 9

r(3,4)= 9的證明

Ramsey 定理的推廣形式

滿足條件KpKn1,Kn2,,KnlK_p \rightarrow K_{n_1} , K_{n_2} , \cdots, K_{n_l} 的最小整數稱爲r(n1,n2,,nl)r(n_1,n_2,\cdots , n_l)

r(3,3,3) = 17

Ramsey 更一般的形式

給定一正整數tt,及q1,q2,qktq_1,q_2,\cdots q_k \ge t,存在一個整數pp,將其中每一個tt元素子集指定爲kk中顏色c1,c2,,ckc_1,c_2,\cdots,c_k中的一種,滿足:

  1. 存在q1q_1個元素,所有tt子集都被染成指定顏色c1c_1
  2. … …
  3. 存在qkq_k個元素,所有tt子集都被染成指定顏色ckc_k

rt(q1,,qk)r_t(q_1,\cdots,q_k)爲最小的pp

特例

The Strong form of Pigeonhole Principle :r1(q1,q2,,qk)=q1+q2++qk+n1r_1(q_1,q_2,\cdots,q_k) = q_1 + q_2 + \cdots + q_k + n - 1

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章