MA-410, Spring 2025, Homework 2, due as indicated for each problem.

All solutions must be submitted on the Moodle web site for the class at wolfware.ncsu.edu. You may upload a photo of your handwritten solution or a file of your typed solution.
Note my office hours on my schedule.


  1. Due Friday, February 28, 11:59pm
    A Mersenne number is an integer of the form Mp = 2p – 1, where p is a prime number. Please prove GCD(Mp, Mq) = 1 for primes p ≠ q. Hint: prove for integers m ≥ n > 0 that GCD(2m – 1, 2n – 1) = GCD(2m mod n – 1, 2n – 1) = 2GCD(m, n) – 1.
  2. Due Friday, February 28, 11:59pm
    Let the Fermat numbers be Fn= 22n + 1 for integers n ≥ 0. Please prove that 2Fn-1 ≡ 1 (mod Fn) for all n ≥ 0. [cf. ENT, §5.2, Problem 15(b), page 93.]
  3. Due Thursday, March 18, 11:59pm
    Using the Chinese Remainder Algorithm from class, which is based on interpolation by divided differences, compute a (positive or negative) integer N such that 32 = 25 divides N–3, 27 = 33 divides N–2, and 25 = 52 divides N+2.
  4. Due Thursday, March 18, 11:59pm
    ENT, §5.2, Problem 10, (b) only, page 92. Assuming that a and b are integers not divisible by the prime p, prove the following: (b) if ap ≡ bp (mod p), then ap ≡ bp (mod p2). [Hint: ap ≡ bp (mod p) implies a ≡ b (mod p), hence there exists an integer k such that a = b + pk. Now ap – bp = (b+pk)p – bp. Prove that p2 divides the latter expression.]
  5. Due Thursday, March 18, 11:59pm
    ENT, §5.2, Problem 19, page 93. Prove that if 6k+1, 12k+1 and 18k+1 are all prime numbers, then (6k+1)(12k+1)(18k+1) is a Carmichael number. Example: 1729 = 7 × 13 × 19.
    Bonus addition:
    If 36k+1 is also a prime number, then (6k+1)(12k+1)(18k+1)(36k+1) is an additional Carmichael number. Example: 63973 = 7 × 13 × 19 × 37.