112 年 國立中山大學電機工程學系碩士班丙組《離散數學》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 Problem 1 題20 分

Problem 1: If x, y, and z are natural numbers, find all the solutions (x,y,z) to the following equation.
Please justify your answer. Otherwise, you get 0 points. Furthermore, write your final answer on the
leftmost part of the answer paper using "Ans:" and a new individual line. You will receive mark penalty
of -5 points if you fail to do so. (20pt)
2x+4y+8z=3282^x + 4^y + 8^z = 328

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題屬於離散數學中的初等數論(Elementary Number Theory)與二進位指數方程式(Exponential Diophantine Equations)。
主要考驗的觀念與定理包含:

  1. 同底數冪次轉換:利用指數律將不同底數化為以 2 為底的標準型態:4y=(22)y=22y4^y = (2^2)^y = 2^{2y} 與 8z=(23)z=23z8^z = (2^3)^z = 2^{3z}。
  2. 算術基本定理與偶因數提取法:利用 2 的次方與奇數因數的特性,配合質因數分解唯一性(二進位表示唯一性),推導出三個指數項的唯一數值集合。
  3. 整除性與變數約束:變數 x,y,z∈Nx, y, z \in \mathbb{N}(自然數),指數分別為 xx(任意自然數)、2y2y(必須為偶數)、3z3z(必須為 3 的倍數)。

解題方法

步驟一:將方程式統一改寫為以 2 為底的指數形式
原式為:
2x+4y+8z=3282^x + 4^y + 8^z = 328
利用指數律 4y=22y4^y = 2^{2y} 與 8z=23z8^z = 2^{3z},將原式改寫為:
2x+22y+23z=3282^x + 2^{2y} + 2^{3z} = 328

步驟二:證明 328 分解為三個 2 的冪次和之指數集合必為 {3,6,8}\{3, 6, 8\}
設三個指數分別為 A,B,CA, B, C(即 {A,B,C}={x,2y,3z}\{A, B, C\} = \{x, 2y, 3z\}),不失一般性假設 A≤B≤CA \le B \le C。方程式變為:
2A+2B+2C=3282^A + 2^B + 2^C = 328

  1. 當 A<B<CA < B < C 時:
    提出 2A2^A 可得:
    2A(1+2B−A+2C−A)=328=23×412^A (1 + 2^{B-A} + 2^{C-A}) = 328 = 2^3 \times 41
    由於 B−A>0B-A > 0 且 C−A>0C-A > 0,故括號內 (1+2B−A+2C−A)(1 + 2^{B-A} + 2^{C-A}) 必為奇數。
    根據算術基本定理,等式兩邊偶因數部分(2 的次方)必須相等,因此:
    2A=23  ⟹  A=32^A = 2^3 \implies A = 3
    將 A=3A = 3 代回等式:
    1+2B−3+2C−3=41  ⟹  2B−3+2C−3=401 + 2^{B-3} + 2^{C-3} = 41 \implies 2^{B-3} + 2^{C-3} = 40
    提出 2B−32^{B-3}(其中 B−3<C−3B-3 < C-3):
    2B−3(1+2C−B)=40=23×52^{B-3} (1 + 2^{C-B}) = 40 = 2^3 \times 5
    由於 C−B>0C-B > 0,(1+2C−B)(1 + 2^{C-B}) 為奇數,故:
    2B−3=23  ⟹  B−3=3  ⟹  B=62^{B-3} = 2^3 \implies B - 3 = 3 \implies B = 6
    代回可得:
    1+2C−6=5  ⟹  2C−6=4=22  ⟹  C=81 + 2^{C-6} = 5 \implies 2^{C-6} = 4 = 2^2 \implies C = 8
    故指數集合為 {3,6,8}\{3, 6, 8\}。

  2. 當存在指數相同的情況時:

    • 情況 2-1(A=B<CA = B < C):2⋅2A+2C=2A+1(1+2C−A−1)=328=23×41  ⟹  A+1=3  ⟹  A=22 \cdot 2^A + 2^C = 2^{A+1}(1 + 2^{C-A-1}) = 328 = 2^3 \times 41 \implies A+1 = 3 \implies A=2。代回得 1+2C−3=41  ⟹  2C−3=401 + 2^{C-3} = 41 \implies 2^{C-3} = 40,無整數解。
    • 情況 2-2(A<B=CA < B = C):2A+2⋅2B=2A(1+2B+1−A)=328=23×41  ⟹  A=32^A + 2 \cdot 2^B = 2^A(1 + 2^{B+1-A}) = 328 = 2^3 \times 41 \implies A = 3。代回得 1+2B−2=41  ⟹  2B−2=401 + 2^{B-2} = 41 \implies 2^{B-2} = 40,無整數解。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 Problem 2 題20 分

Problem 2: Assume that Z[i] is the ring of Gaussian integers. Besides, I is an irreducible element in the
ring which divides 11213. Please list all of such irreducible elements. Note that 672+822=1121367^2 + 82^2 = 11213.
Please justify your answer. Otherwise, you get 0 points. Furthermore, write your final answer on the
leftmost part of the answer paper using "Ans:" and a new individual line. You will receive mark penalty
of -5 points if you fail to do so. (20pt)

登入後即可作答並保存紀錄。

這一題的完整詳解

Ans: ±67±82i\pm 67 \pm 82i 與 ±82±67i\pm 82 \pm 67i(共 8 個)

觀念與公式

  1. 高斯整數環 Z[i]\mathbb{Z}[i]:範數(Norm)定義為 N(a+bi)=a2+b2N(a+bi) = a^2 + b^2。
  2. 不可約元素(Irreducible Elements / Gaussian Primes):若 N(α)=pN(\alpha) = p 為實質質數(Real Prime),則 α\alpha 在 Z[i]\mathbb{Z}[i] 中必為不可約元素。
  3. 質數在 Z[i]\mathbb{Z}[i] 中的分解性質:
    • 若實質質數 p≡1(mod4)p \equiv 1 \pmod 4,則 pp 可唯一表示為兩個平方數之和 a2+b2a^2 + b^2(不計符號與順序),且 p=(a+bi)(a−bi)p = (a+bi)(a-bi),其中 a±bia \pm bi 皆為不可約元素。

推導過程

  1. 檢查 11213 的素性與特徵:
    題目給定 11213=672+82211213 = 67^2 + 82^2。
    • 672+822=4489+6724=1121367^2 + 82^2 = 4489 + 6724 = 11213。
    • 11213≡1(mod4)11213 \equiv 1 \pmod 4。
    • 經檢驗 11213 為實質質數。
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 Problem 3 題20 分

Problem 3: Given a six-by-six matrix, where black represents forbidden cells, find the total number of
combinations if six white cells (i.e., six nonforbidden cells) need to be selected. Please justify your answer.
Otherwise, you get 0 points. Furthermore, write your final answer on the leftmost part of the answer paper
using "Ans:" and a new individual line. You will receive mark penalty of -5 points if you fail to do so. (20
pt)
🖼️【此處有附圖,請對照原卷】

🖼️ 本題含圖表,以下為原卷對應頁面:
原卷第 2 頁

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

題目要從所有白色格子中選出 6 格,未要求每列或每行最多選幾格,因此使用組合公式:從 nn 個不同物件中選 rr 個,選取順序不影響結果,共有 (nr)\binom{n}{r} 種。

解題方法

依圖逐列計算白色格子數:

  • 第 1 列:5 格
  • 第 2 列:3 格
  • 第 3 列:4 格
  • 第 4 至第 6 列:每列 5 格,共 15 格
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 Problem 4 題20 分

Problem 4: Find the general solution to the recurrence relation an=1nan−1+2na_n = \frac{1}{n} a_{n-1} + 2^n, where n≥1n \ge 1 and a0=3456a_0 = 3456. Please justify your answer. Otherwise, you get 0 points. Furthermore, write your final answer on the leftmost part of the answer paper using "Ans:" and a new individual line. You will receive mark penalty of -5 points if you fail to do so. (20 pt)

登入後即可作答並保存紀錄。

這一題的完整詳解

Ans: an=3456⋅1n!+n!∑k=1n2kk!a_n = 3456 \cdot \frac{1}{n!} + n! \sum_{k=1}^{n} \frac{2^k}{k!}


詳解

給定遞迴關係式:
an=1nan−1+2n(n≥1, a0=3456)a_n = \frac{1}{n} a_{n-1} + 2^n \quad (n \ge 1, \ a_0 = 3456)

步驟一:遞迴關係式同乘 n!n! 化簡

兩邊同乘以 n!n!:
n!⋅an=(n−1)!⋅an−1+n!⋅2nn! \cdot a_n = (n-1)! \cdot a_{n-1} + n! \cdot 2^n

令 bn=n!⋅anb_n = n! \cdot a_n,則 b0=0!⋅a0=3456b_0 = 0! \cdot a_0 = 3456。原式可改寫為:
bn=bn−1+n!⋅2nb_n = b_{n-1} + n! \cdot 2^n

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 Problem 5 題20 分

Problem 5: Write the chromatic polynomial P(G, A) of the graph G by using a colors. Please justify your
answer. Otherwise, you get 0 points. Furthermore, write your final answer on the leftmost part of the
answer paper using "Ans:" and a new individual line. You will receive mark penalty of -5 points if you
fail to do so. (20 pt)

登入後即可作答並保存紀錄。

這一題的完整詳解

觀念說明

色多項式 (Chromatic Polynomial) P(G,λ)P(G, \lambda) 表示將圖 GG 的頂點以 λ\lambda 種顏色著色,使得任意相鄰頂點顏色皆不相同的著色方法總數。

在求解給定圖 GG 的色多項式時,常用的經典方法為刪減-收縮定理 (Deletion-Contraction Theorem):
P(G,λ)=P(G−e,λ)−P(G⋅e,λ)P(G, \lambda) = P(G - e, \lambda) - P(G \cdot e, \lambda)
其中 G−eG - e 表示從圖 GG 中刪除邊 ee,G⋅eG \cdot e 表示將邊 ee 的兩個端點收縮(合併)為單一頂點。


解題步驟

由於題目考卷印刷未附圖形 GG 之具體結構圖檔,以下提供兩類研究所考試最常出現之圖形推導範例:

情況一:若圖 GG 為 nn 個頂點的樹狀圖 (Tree, TnT_n)

  1. 任意選定一根頂點,其有 λ\lambda 種顏色可選擇。
  2. 剩餘的 n−1n-1 個頂點,每個頂點只需要與其父節點顏色不同即可,故各有 λ−1\lambda - 1 種顏色選擇。
  3. 依乘法原理,其色多項式為:
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題