Modular arithmetic operations and congruences - Discrete Math
- Let be a prime number greater than 3. If , what is the remainder when is divided by 24? Answer: 5 Since is prime and , we have . Also, is odd, so is odd. For , we need and . Since is odd, for some , so . Since either or is even, is even, so . Thus for any odd . For , we need . Since is prime, this is satisfied. By Fermat's Little Theorem, when . So the condition is satisfied by primes with , which includes (since must be coprime to 6). Now, . Since is a prime greater than 3, the possible values modulo 24 are those coprime to 24. We have when . Among the primes, we could have , giving . Let's verify: ✓. So . Choice A assumes . Choice C might come from , but . Choice D might assume .
- If and , what is the value of ? Answer: 7 Since , we have . Now , so . Therefore . Choice A results from incorrectly computing . Choice B assumes . Choice D comes from computing instead of the proper modular reduction.
- What is the multiplicative order of 5 modulo 13? Answer: 4 The multiplicative order of 5 modulo 13 is the smallest positive integer such that . We compute powers of 5: , (since ), (since ), (since ). Therefore, the order is 4. Choice B (6) might come from confusing this with . Choice C (12) would be the result if 5 were a primitive root (which it's not since and ). Choice D (13) is impossible since the order must divide .
- If and , what is the smallest positive value of ? Answer: 137 We have and for integers . Then . To minimize this, we want to minimize . Since all coefficients are positive and , the minimum occurs at . This gives . Choice B might result from using but adding an extra term. Choice C could come from : , which doesn't match. Choice D similarly doesn't align with small values.
- What is the smallest positive integer such that ? Answer: 12 Since and , we use the Chinese Remainder Theorem. We need and simultaneously. For : , , , . So the order of modulo is . For : , , . So the order of modulo is . The smallest such that modulo both and is . Choice A (6) is , a common error when adding orders instead of taking the LCM. Choice C (24) is , possibly from incorrectly computing . Choice D (30) might come from using , then adding 6.
- How many solutions does the congruence have? Answer: 3 For the linear congruence , the number of solutions is if divides , and 0 otherwise. Here, . Since divides , there are exactly solutions modulo . To find them, we first divide the entire congruence by : . Since , this has a unique solution modulo . We need . Since , we have . Thus . The solutions modulo are . Choice A (0) would result from incorrectly thinking doesn't divide . Choice B (1) ignores the multiplicity. Choice D (5) might come from thinking the number of solutions is .
- If and , what is the smallest positive integer such that ? Answer: 9 We need to solve . First, we find the multiplicative inverse of 7 modulo 13. Using the extended Euclidean algorithm or by checking: . So . Therefore, . Choice A (6) comes from incorrectly computing . Choice C (11) assumes . Choice D (12) results from computing incorrectly.
- Find the number of solutions to where . Answer: 3 For to have solutions, we need . Here and , so solutions exist. The number of solutions is . To find them, we first solve , which gives . Since , we have . So . Choice A assumes no solutions exist. Choice B counts only one fundamental solution. Choice D incorrectly uses somehow.
- If and , what is ? Answer: 9 First, compute . Then . Since , we have . Choice A results from computing but then incorrectly reducing . Choice C comes from computing incorrectly. Choice D assumes by forgetting the modular reduction.
- What is the last two digits of ? Answer: 01 We need . Using Euler's theorem, . Since , we have . Therefore . Computing : , so . Choice B is . Choice C results from incorrect exponent arithmetic. Choice D assumes pattern repeats incorrectly.
- Find the remainder when is divided by 7. Answer: 4 We use Fermat's Little Theorem. Since 7 is prime and , we have . Now , so . Computing , so . Choice A (1) would result from incorrectly thinking . Choice B (2) might come from computing and stopping there. Choice D (6) could result from computing , then incorrectly getting .
- If , how many solutions for exist in the range ? Answer: 4 We need to find all in such that . Testing each value: , ✓, , ✓ (since ), (since ), ✓ (since ), (since ), ✓ (since ). So the solutions are , giving 4 solutions. Choice A (1) would result from only finding . Choice B (2) might come from only finding by thinking . Choice C (3) could result from missing one solution due to computational error.