2018 AIME I Problem 1
Problem 1 of 15EasierAlgebraNumber Theory
Let be the number of ordered pairs of integers with and such that the polynomial can be factored into the product of two (not necessarily distinct) linear factors with integer coefficients. Find the remainder when is divided by
Your answer
Integer from 0 to 999
Show solution
Solution
The polynomial factors into integer linear factors exactly when its roots are integers, that is, when the discriminant equals for some integer Given such a exists exactly when for some with and and distinct such give distinct values
For odd the valid are which is choices; for even they are which is choices.
Summing over the odd contribute and the even contribute Thus and the remainder is
Tagged: quadratic · perfect square · parity