Docsity

Proofs in Elementary Number Theory, Summaries of Mathematical logic

Toggle sidebar
bg1
MATH 310: Groupwork 8 Solutions Wednesday 7/18/2012
1. Let a∈Z. Show that if adivided by 5 leaves a remainder of 2 then 5|(a2āˆ’4).
Proof: We have a= 5k+ 2 for k∈Zand so a2āˆ’4 = (5k+ 2)2āˆ’4 = 25k2+ 20k= 5(5k2+ 4k) = 5b
for b= 5k2+ 4k∈Zand so 5|(a2āˆ’4).
2. Let m∈Z. Prove if 3 ∤mthen 3 ∤m2.
Proof: If 3 ∤mthen either m= 3n+ 1 or m= 3n+ 2 with n∈Z.
Case 1: If m= 3n+ 1 then m2= 9m2+ 6m+ 1 = 3(3m2+ 2m) + 1 so 3 ∤m2.
Case 2: If m= 3n+ 2 then m2= 9m2+ 12m+ 4 = 3(3m2+ 4m+ 1) + 1 so 3 ∤m2.
3. Prove or provide a counterexample: Let a, b, c ∈Z. If a|bc then either a|bor a|c.
Proof: False. For example if a= 6, b= 2 and c= 3 then a|bc but a∤band a∤c.
4. Let a∈Z. Prove that a3≔a(mod 3).
Proof: We have either a≔0,1,2 (mod 3).
Case 1: If a≔0 (mod 3) then a= 3kfor k∈Zand so a3āˆ’a= 27k3āˆ’3k= 3(9k3āˆ’k) and so
a3≔a(mod 3).
Case 2: If a≔1 (mod 3) then a= 3k+ 1 for k∈Zand so a3āˆ’a= 27k3+27k2+6k= 3(9k3+ 9k2+ 2k)
and so a3≔a(mod 3).
Case 3: If a≔2 (mod 3) then a= 3k+ 2 for k∈Zand so a3āˆ’a= 27k3+ 54k2+ 33k+ 6 =
3(9k3+ 18k2+ 11k+ 2) and so a3≔a(mod 3).
We see in all cases that a3≔a(mod 3).
5. Show that if a∈Zthen a26≔ 2 (mod 4) and a26≔ 3 (mod 4).
Proof: We have either a≔0,1,2,3 (mod 4).
Case 1: If a≔0 (mod 4) then a= 4kfor k∈Zand so a2= 16k2= 4(4k2) and so a2≔0 (mod 4).
Case 2: If a≔1 (mod 4) then a= 4k+ 1 for k∈Zand so a2= 16k2+ 8k+ 1 = 4(4k2+ 2k) + 1 and
so a2≔1 (mod 4).
Case 3: If a≔2 (mod 4) then a= 4k+ 2 for k∈Zand so a2= 16k2+ 16k+ 4 = 4(4k2+ 4k+ 1) and
so a2≔0 (mod 4).
Case 4: If a≔3 (mo d 4) then a= 4k+ 3 for k∈Zand so a2= 16k2+ 24k+ 9 = 4(4k2+ 6k+ 2) + 1
and so a2≔1 (mod 4).
We see in all cases that a6≔ 2,3 (mod 4).

Partial preview of the text

Download Proofs in Elementary Number Theory and more Summaries Mathematical logic in PDF only on Docsity!

MATH 310: Groupwork 8 Solutions Wednesday 7/18/

  1. Let a ∈ Z. Show that if a divided by 5 leaves a remainder of 2 then 5|(a^2 āˆ’ 4). Proof: We have a = 5k + 2 for k ∈ Z and so a^2 āˆ’ 4 = (5k + 2)^2 āˆ’ 4 = 25k^2 + 20k = 5(5k^2 + 4k) = 5b for b = 5k^2 + 4k ∈ Z and so 5|(a^2 āˆ’ 4).
  2. Let m ∈ Z. Prove if 3 ∤ m then 3 ∤ m^2. Proof: If 3 ∤ m then either m = 3n + 1 or m = 3n + 2 with n ∈ Z. Case 1: If m = 3n + 1 then m^2 = 9m^2 + 6m + 1 = 3(3m^2 + 2m) + 1 so 3 ∤ m^2. Case 2: If m = 3n + 2 then m^2 = 9m^2 + 12m + 4 = 3(3m^2 + 4m + 1) + 1 so 3 ∤ m^2.
  3. Prove or provide a counterexample: Let a, b, c ∈ Z. If a|bc then either a|b or a|c. Proof: False. For example if a = 6, b = 2 and c = 3 then a|bc but a ∤ b and a ∤ c.
  4. Let a ∈ Z. Prove that a^3 ≔ a (mod 3). Proof: We have either a ≔ 0 , 1 , 2 (mod 3). Case 1: If a ≔ 0 (mod 3) then a = 3k for k ∈ Z and so a^3 āˆ’ a = 27k^3 āˆ’ 3 k = 3(9k^3 āˆ’ k) and so a^3 ≔ a (mod 3). Case 2: If a ≔ 1 (mod 3) then a = 3k +1 for k ∈ Z and so a^3 āˆ’a = 27k^3 +27k^2 +6k = 3(9k^3 +9k^2 +2k) and so a^3 ≔ a (mod 3). Case 3: If a ≔ 2 (mod 3) then a = 3k + 2 for k ∈ Z and so a^3 āˆ’ a = 27k^3 + 54k^2 + 33k + 6 = 3(9k^3 + 18k^2 + 11k + 2) and so a^3 ≔ a (mod 3). We see in all cases that a^3 ≔ a (mod 3).
  5. Show that if a ∈ Z then a^2 6 ≔ 2 (mod 4) and a^2 6 ≔ 3 (mod 4). Proof: We have either a ≔ 0 , 1 , 2 , 3 (mod 4). Case 1: If a ≔ 0 (mod 4) then a = 4k for k ∈ Z and so a^2 = 16k^2 = 4(4k^2 ) and so a^2 ≔ 0 (mod 4). Case 2: If a ≔ 1 (mod 4) then a = 4k + 1 for k ∈ Z and so a^2 = 16k^2 + 8k + 1 = 4(4k^2 + 2k) + 1 and so a^2 ≔ 1 (mod 4). Case 3: If a ≔ 2 (mod 4) then a = 4k + 2 for k ∈ Z and so a^2 = 16k^2 + 16k + 4 = 4(4k^2 + 4k + 1) and so a^2 ≔ 0 (mod 4). Case 4: If a ≔ 3 (mod 4) then a = 4k + 3 for k ∈ Z and so a^2 = 16k^2 + 24k + 9 = 4(4k^2 + 6k + 2) + 1 and so a^2 ≔ 1 (mod 4). We see in all cases that a 6 ≔ 2 , 3 (mod 4).