2020 AIME I · Question 11
Problem outline
For integers , let and . Count ordered triples with for which some integer makes .
Show answer and methods 1 methods
Answer
510
Method 1 Separate equal and distinct roots of the outer quadratic
and . They are equal exactly when . Then arbitrary work after choosing , contributing triples.
Otherwise these values are the two roots of , so Vieta gives . The bound becomes .
For each of the integers in this interval, exactly of the choices of have , and the resulting remains in range. This gives pairs, but have and were already counted. The total is .
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)