2015 AIME I Problem 14
Problem 14 of 15HarderAlgebraGeometryProblem-Solving Techniques
For each integer let be the area of the region in the coordinate plane defined by the inequalities and where is the greatest integer not exceeding Find the number of values of with for which is an integer.
Your answer
Integer from 0 to 999
Show solution
Solution
On the strip we have so the region above it is a trapezoid under with area an integer when is even, a half-integer when is odd. Hence as grows by the integrality of is unchanged while is even and flips at every step while is odd.
Consider the block of values Starting from the statuses of cycle with period integer for and non-integer for (an odd block flips the status an odd number of times, an even block preserves it). Counting integer values of inside each block: for the block alternates, beginning and ending with non-integers, giving for every value is a non-integer, giving for it alternates, beginning and ending with integers, giving for all values are integers.
For covering the four blocks contribute integers, totaling Then the block contributes integers for the block contributes none, and for the alternation over begins with an integer at and gives more. The total is
Tagged: floor and ceiling functions · trapezoid · casework · pattern recognition