Which of the following numbers is a perfect square?
- A)
- B)
- C)
- D)
- E)
Answer
D
Key insight
The two factorials share a big common part, so each choice is a perfect square times (n+1)/2. Only 18/2 = 9 is a perfect square.
Solution
The numbers are far too big to compute, so look for a square hidden inside them.
1. Take choice (D). Notice that , because is with one more factor, .
2. So
3. is a perfect square, and is a perfect square. A square times a square is a square, so this number equals .
4. Check that the others fail. Each choice has the form , so only the leftover matters:
| choice | perfect square? | ||
|---|---|---|---|
| (A) | no, not a whole number | ||
| (B) | no | ||
| (C) | no, not a whole number | ||
| (D) | yes | ||
| (E) | no, not a whole number |
The answer is .
Why this works
Two factorials next to each other share almost all their factors, so their product is a square times one extra number. Pull out the part that is clearly a square, and the question shrinks to whether the small leftover is a square. Look for a hidden square like this before counting prime factors.
The trap
Trying to multiply out or factor the huge factorials instead of noticing the square that is already there.
Concise solution
Every choice has the form . Since ,
The factor is already a perfect square, so the whole number is a perfect square exactly when is a perfect square.
Check the five values of :
- : , not an integer.
- : , not a square.
- : , not an integer.
- : . Yes.
- : , not an integer.
The answer is .
Review in the AoPS books
- Introduction to Number Theory, Chapter 1: Integers: The Basics
- Introduction to Algebra, Chapter 11: Special Factorizations
- Introduction to Algebra, Chapter 20: Special Functions (§20.3)
- Introduction to Number Theory, Chapter 5: Divisor Problems (§5.2, §5.3)
Techniques
Apply an identity: SFFT, sum of squares, difference of cubes, Vieta · Use the answer choices (mod checks, size, form) to eliminate or select