1b Practice Problems with solutions

Advanced Mathematics BBA & BAIB 2024-2025

Topic 1: Modular Arithmetic Practice Problems

1. Problem Questions

  • Congruences

    1. 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.

2. Problem Answers

  • Congruences

    1. 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.

robot