Congruences
Solve, if possible, the following congruences. If not possible, justify why not.
a) 5π₯ + 1 β‘ 0 (mod 8)
b) 6π₯ β‘ 3 (mod 12)
c) 4π₯ β 3 β‘ 27 (mod 7)
d) |5 β π₯3| β‘ 4 (mod 5)
e) β3π₯2 β‘ 2π₯ (mod 6)
f) 3π₯5 + 7π₯3 β‘ 40 (mod 124)
Linear Integer Equations2. Solve, if possible, the following linear integer equations. If not possible, justify why not.
a) 11π₯ + 15π¦ = 31
b) 21π₯ + 15π¦ = 12
c) 24π₯ + 28π¦ = 845
d) 169π₯ β 65π¦ = 91
e) 16π₯ + 44π¦ = 20
f) (*) 12 345 678π₯ + 87 654 444π¦ = 12 Β· 1010
Modular Arithmetic Property3. Prove the sixth property of modular arithmetic: If π β‘ π΄ (mod π) and π β‘ π΅ (mod π), then π Β· π β‘ π΄ Β· π΅ (mod π).
ATM Cash Withdrawal4. An ATM has β¬50 and β¬10 banknotes, and always outputs more β¬10 than β¬50 in any withdrawal. Determine the possible ways to withdraw β¬360.
Trucking Refrigerators5. A trucking company has to move 844 refrigerators with trucks that carry either 28 or 34 refrigerators. List possible ways of moving all the refrigerators.
Congruences
a) Solve: 5π₯ + 1 β‘ 0 (mod 8)
Reduction leads to 5π₯ β‘ 7 (mod 8).
Possible values for π₯ modulo 8: 0, 1, 2, 3, 4, 5, 6, 7 yield π₯ β‘ 3 (mod 8).
b) No solutions; multiples of 6 in mod 12 yield remainders of only 0 or 6.
c) Solve: 4π₯ β 3 β‘ 27 (mod 7) converts to 4π₯ β‘ 2 (mod 7) leading to π₯ β‘ 4 (mod 7).
d) Solve |5 β π₯3| β‘ 4 (mod 5): values yield π₯ β‘ 1, 4 (mod 5).
e) Rearranging gives β3π₯2 β‘ 2π₯ (mod 6): solution is π₯ β‘ 0 (mod 6).
f) The solutions are π₯ β‘ 6, 50, 54, 68, 112, 116 (mod 124).
Linear Integer Equations2. a) gcd(11, 15) = 1; extended Euclidean algorithm gives:
Solution for 11π₯ + 15π¦ = 31 becomes π₯ = -124 + 15π, π¦ = 93 - 11π for all π.
b) gcd(21, 15) = 3; apply algorithm for solutions to yield π₯ = -8 + 5π, π¦ = 12 - 7π.
c) gcd(24, 28) = 4 which does not divide 845, hence no solutions.
d) gcd(169, -65) = 13; extended calculations yield the general solution as π₯ = 14 - 5π, π¦ = 35 - 13π.
e) gcd(16, 44) = 4; solutions yield π₯ = 15 + 11π, π¦ = -5 - 4π for integers.