Which of the following numbers is a perfect square?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Write the bigger factorial as the smaller one times the extra numbers. For example 100! is 100 times 99!, so 99! times 100! is (99!) squared times 100, a square.
Solution
The numbers are huge, so do not try to compute them. Instead, use the fact that a bigger factorial contains the smaller one.
1. Start with a small example: , because . In the same way, .
2. So choice (C) is
3. is a square, and is a square. A square times a square is a square: this is . So (C) works.
4. Check that the others fail the same way, by pulling out a square and looking at what is left:
- (A) . Leftover has a single , so not a square.
- (B) . Leftover , again a single .
- (D) . Leftover has a single , which is prime.
- (E) . Leftover is prime, not a square.
The answer is .
Why this works
Factorials that are close together share almost all their factors. Rewrite the bigger one as the smaller one times a few extra numbers, pull out the square, and only the small leftover matters. A number is a perfect square exactly when every prime in it shows up an even number of times, so a lone or rules a choice out.
The trap
Trying to think about the giant numbers directly instead of rewriting each choice as a square times a small leftover number.
Concise solution
Peel the larger factorial down to the smaller one. For any ,
Since is already a square, the product is a square exactly when the leftover factor is a square.
- (A): ; is not a square.
- (C): ; a square.
- (E): ; is not a square.
For the choices two apart: (B) , and is not a square because the factor contributes an unpaired . (D) , and is prime, so it is not a square either.
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