For how many real values of is an integer?
- A)
- B)
- C)
- D)
- E)
Answer
E
Key insight
Call the integer k. Then the square root of x equals 120 − k^2, which cannot be negative, so k can be 0, 1, 2, up to 10: eleven values.
Solution
Give the integer a name and undo the square roots one at a time.
1. Say , where is a whole number. A square root is never negative, so is or more.
2. Square both sides: , so
3. The left side is a square root, so it cannot be negative. That means can be at most . Since and , can be . That is values.
4. Each of these gives exactly one , namely , and different give different . For example, gives , so ; gives , so .
So there are values of .
The answer is .
Why this works
When a question asks when an expression is a whole number, name that whole number and work backwards, one layer at a time. At each layer, remember what is allowed (here: square roots are never negative). Don't forget that is a whole number and a perfect square.
The trap
Forgetting k = 0 (when the square root of x is exactly 120, the whole expression is 0, a perfect integer) and answering 10, the wrong choice (D).
Concise solution
Let , where is an integer; since a square root is never negative, . Squaring,
The left side is a square root, so it must be at least : , which means because is too big. So , eleven values.
Each determines and hence a single real ; different give different . So there are values of .
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Algebra, Chapter 1: Follow the Rules (§1.6, §1.7, §1.8)
- Introduction to Algebra, Chapter 20: Special Functions (§20.3)
- Introduction to Algebra, Chapter 11: Special Factorizations (§11.4)
Techniques
Set up the equation/formula and compute; no special trick needed