2023 AIME I Problem 7
Problem 7 of 15IntermediateNumber TheoryProblem-Solving Techniques
Call a positive integer extra-distinct if the remainders when is divided by and are distinct. Find the number of extra-distinct positive integers less than
Your answer
Integer from 0 to 999
Show solution
Solution
Write for the remainder of modulo and note and If then is even and different from so then is even and avoids so which gives finally avoids so These say modulo each of i.e.
If similarly then giving and avoids so The choice gives i.e. the choice gives with dividing i.e.
Below there are integers congruent to congruent to and congruent to modulo for a total of
Tagged: modular arithmetic · Chinese Remainder Theorem · casework