NT Final Exam - Campanilla NORVEEN
NT Final Exam - Campanilla NORVEEN
NT Final Exam - Campanilla NORVEEN
NUMBER
THEORY
STUDENT|
N O R V E E N S . C A M PA N I L L A
MST Mathematics
I N STRU CTO R|
N A R G L O R I C U TA N E S , P H D
Proofs Principle of Mathematical Induction
1. Write the contrapositive of the proposition and prove.
If 𝑛2 is even, then 𝑛 is also even.
H: 𝑛2 is an even integer
C: n is an even integer
Contrapositive
~H: 𝑛2 is an odd integer
~C: n is an odd integer
So, the new statement to prove:
~𝑪 → ~𝑯
If 𝑛 is an odd integer, then 𝑛2 is also an odd integer.
Proof:
Let 𝑛 be any integer such that 𝑛2 is even. We would like to prove that 𝑛 must be an even integer.
Indirectly, we assume that the conclusion is false, that is n is odd. Let 𝑛 = 2𝑘 − 1 for some integer 𝑘. Then,
𝑛2 = 2𝑘 − 1 2 = 4𝑘 2 − 4𝑘 + 1 = 2 2𝑘 2 − 2𝑘 + 1 − 1
which is an odd integer. This makes our hypothesis that 𝑛2 is an even integer false.
Therefore, by law of contrapositive, our assumption must be wrong; so 𝑛 must be an even integer. Thus, if 𝑛2 is
an even integer, then 𝑛 is also an even integer.
Proofs Principle of Mathematical Induction
a. 3𝑥 ≡ 7 𝑚𝑜𝑑 9
GCD 3 , 9 = 3
3|7 (𝑓𝑎𝑙𝑠𝑒)
𝟑 𝒅𝒐𝒆𝒔 𝒏𝒐𝒕 𝒅𝒊𝒗𝒊𝒅𝒆 𝟕, 𝒕𝒉𝒆𝒓𝒆𝒇𝒐𝒓𝒆, 𝒕𝒉𝒆𝒓𝒆 𝒂𝒓𝒆 𝒏𝒐 𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏𝒔 𝒕𝒐 𝒕𝒉𝒆 𝒄𝒐𝒏𝒈𝒓𝒖𝒆𝒏𝒄𝒆 𝟑𝒙 ≡ 𝟕 (𝒎𝒐𝒅 𝟗)
b. 18𝑥 ≡ 7 𝑚𝑜𝑑 12
GCD 18 , 12 = 6
6|7 (𝑓𝑎𝑙𝑠𝑒)
𝟔 𝒅𝒐𝒆𝒔 𝒏𝒐𝒕 𝒅𝒊𝒗𝒊𝒅𝒆 𝟕, 𝒕𝒉𝒆𝒓𝒆𝒇𝒐𝒓𝒆, 𝒕𝒉𝒆𝒓𝒆 𝒂𝒓𝒆 𝒏𝒐 𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏𝒔 𝒕𝒐 𝒕𝒉𝒆 𝒄𝒐𝒏𝒈𝒓𝒖𝒆𝒏𝒄𝒆 𝟏𝟖𝒙 ≡ 𝟕 𝒎𝒐𝒅 𝟏𝟐
SOLUTION:
Express
𝑥 ≡ 2 (𝑚𝑜𝑑 3)
ቊ 𝑥 ≡ 15𝑛 + 14
𝑥 ≡ 4(𝑚𝑜𝑑 5)
𝑥 ≡ 3𝑘 + 12 → 𝑒𝑥𝑝𝑟𝑒𝑠𝑠 𝑎𝑛𝑑 𝑠𝑢𝑏𝑠𝑡𝑖𝑡𝑢𝑡𝑒 15𝑛 + 14 ≡ 5(𝑚𝑜𝑑𝑒 7)
3𝑘 + 2 ≡ 4 𝑚𝑜𝑑 5 So,
3𝑘 ≡ 2 𝑚𝑜𝑑 5 15𝑛 + 14 ≡ 1𝑛 + 0 ≡ 𝑛 + 14 ≡ 5 𝑚𝑜𝑑 7
𝑘 ≡ 2 ∗ 2 𝑚𝑜𝑑 5 𝑛 + 14 ≡ 5 𝑚𝑜𝑑 7
𝑘 ≡ 4 (𝑚𝑜𝑑 5) 𝑛 ≡ 5 − 14 𝑚𝑜𝑑 7 → 𝑛 ≡ −9 (𝑚𝑜𝑑 7)
Thus, ⟹ 𝑛 ≡ −2 (𝑚𝑜𝑑 7) → 𝑛 ≡ 5
𝑘 ≡ 5𝑚 + 4 𝑓𝑜𝑟 𝑖𝑛𝑡𝑒𝑔𝑒𝑟 𝑚 Thus,
𝑥 ≡ 3 5𝑚 + 4 + 2 𝑛 ≡ 7𝑝 + 5
𝑥 ≡ 15𝑚 + 12 + 2 𝑥 = 15 7𝑝 + 5 + 14 = 105𝑝 + 75 + 14 = 105𝑝 + 89
𝑥 ≡ 15𝑚 + 14 So,
So, 𝑥 ≡ 89 (𝑚𝑜𝑑 105)
𝑥 ≡ 14(𝑚𝑜𝑑 15) 𝑻𝒉𝒆𝒓𝒆𝒇𝒐𝒓𝒆, 𝒕𝒉𝒆 𝒔𝒐𝒍𝒖𝒕𝒊𝒐𝒏 𝒕𝒐 𝒕𝒉𝒆 𝒔𝒚𝒔𝒕𝒆𝒎 𝒐𝒇 𝒍𝒊𝒏𝒆𝒂𝒓 𝒄𝒐𝒏𝒈𝒓𝒖𝒆𝒏𝒄𝒆 𝒊𝒔 𝟖𝟗.
Eulers’, Fermat’s Little and Wilson’s Theorems
8. What is the remainder when 54! is
divided by 59?
SOLUTION:
𝑝 − 1 ! = −1 𝑚𝑜𝑑 𝑝 Thus;
𝑝 = 59 58! = −1 −2 −3 −4 × 54! (𝑚𝑜𝑑 59)
58! = −1 𝑚𝑜𝑑 59 −1 = 24 × 54! (𝑚𝑜𝑑 59)
SOLUTION:
A Mersenne number is of the form 𝑀𝑛 = 2𝑛 − 1 and a Mersenne prime is a
Mersenne number that is also a prime number.
Example:
𝑀3 = 23 − 1 = 7 which is a prime, so it is Mersenne prime
𝑀4 = 24 − 1 = 15 which is not a prime, so it is not Mersenne prime