This worksheet covers various topics in number theory, including the chinese remainder theorem, exponentiation by repeated squaring, and fermat's theorem. Students are asked to solve systems of congruences using the chinese remainder theorem, compute powers using the method of repeated squaring, and apply fermat's theorem to find powers in modular arithmetic.
Download Number Theory Worksheet: Chinese Remainder Theorem, Exponentiation, and Fermat's Theorem and more Assignments Discrete Mathematics in PDF only on Docsity!
Number Theory Worksheet
Dr. Holmes
July 19, 2007
Chinese Remainder Theorem Solve the system of equations
x ≡ 12 mod 137 x ≡ 42 mod 125 Give the smallest positive solution.
Exponentiation by repeated squaring Compute the following powers in modular arithmetic using the method of repeated squaring (don’t use Fermat’s little theorem even if it ap- plies). (a) 42^1024 mod 1000 (b) 7^261 mod 143 (c) 7^1115 mod 11
Compute the following powers in modular arithmetic using the theorem of Fermat. (a) 7^1115 mod 11 (b) 22^5471 mod 31