2017 AIME II Problem 8
Problem 8 of 15IntermediateNumber TheoryArithmeticProblem-Solving Techniques
Find the number of positive integers less than such that is an integer.
Your answer
Integer from 0 to 999
Show solution
Solution
Multiplying by the sum is an integer exactly when If were odd, every term except would be even, making the total odd. If is not divisible by then modulo every term except vanishes while So must be a multiple of
Write Then and are all divisible by while Since supplies the factors and of the condition reduces to being divisible by that is, or
For we need That range contains multiples of and values with so there are such
Tagged: divisibility · modular arithmetic · factorial · casework