Difference between revisions of "2019 AMC 10A Problems/Problem 25"
m (→Solution 1) |
(→Solutions) |
||
Line 7: | Line 7: | ||
<math>\textbf{(A) } 31 \qquad \textbf{(B) } 32 \qquad \textbf{(C) } 33 \qquad \textbf{(D) } 34 \qquad \textbf{(E) } 35</math> | <math>\textbf{(A) } 31 \qquad \textbf{(B) } 32 \qquad \textbf{(C) } 33 \qquad \textbf{(D) } 34 \qquad \textbf{(E) } 35</math> | ||
− | + | ==Solution 1== | |
− | |||
The main insight is that | The main insight is that | ||
Line 25: | Line 24: | ||
SideNote: Another method to prove that <cmath>\frac{(n^2)!}{(n!)^{n+1}}</cmath> is always an integer is instead as follows using Number Theory. Notice that <math>n</math> will divide the numerator <math>n+1</math> times, since <math>n^2 = n \times n</math> contains not one but two factors of <math>n.</math> Also, for <math>a < n,</math> notice that <math>a</math> divides <math>(n^2)!</math> at least <cmath>\lfloor \frac{n^2}{a} \rfloor \ge \lfloor \frac{n^2}{n-1} \rfloor \ge \lfloor \frac{n^2 - 1}{n-1} \rfloor \ge n+1</cmath> times. Thus, each integer from <math>1</math> to <math>n</math> will divide <math>(n^2)!</math> at least <math>n+1</math> times, which proves such a lemma. <math>\square{}</math> | SideNote: Another method to prove that <cmath>\frac{(n^2)!}{(n!)^{n+1}}</cmath> is always an integer is instead as follows using Number Theory. Notice that <math>n</math> will divide the numerator <math>n+1</math> times, since <math>n^2 = n \times n</math> contains not one but two factors of <math>n.</math> Also, for <math>a < n,</math> notice that <math>a</math> divides <math>(n^2)!</math> at least <cmath>\lfloor \frac{n^2}{a} \rfloor \ge \lfloor \frac{n^2}{n-1} \rfloor \ge \lfloor \frac{n^2 - 1}{n-1} \rfloor \ge n+1</cmath> times. Thus, each integer from <math>1</math> to <math>n</math> will divide <math>(n^2)!</math> at least <math>n+1</math> times, which proves such a lemma. <math>\square{}</math> | ||
− | + | ==Solution 2== | |
We can use the P-Adic Valuation (more info could be found here: [[Mathematicial notation]]) of n to solve this problem (recall the P-Adic Valuation of 'n' is denoted by <math>v_p (n)</math> and is defined as the greatest power of some prime 'p' that divides n. For example, <math>v_2 (6)=1</math> or <math>v_7 (245)=2</math> .) Using Legendre's formula, we know that : | We can use the P-Adic Valuation (more info could be found here: [[Mathematicial notation]]) of n to solve this problem (recall the P-Adic Valuation of 'n' is denoted by <math>v_p (n)</math> and is defined as the greatest power of some prime 'p' that divides n. For example, <math>v_2 (6)=1</math> or <math>v_7 (245)=2</math> .) Using Legendre's formula, we know that : | ||
Revision as of 15:46, 22 August 2022
- The following problem is from both the 2019 AMC 10A #25 and 2019 AMC 12A #24, so both problems redirect to this page.
Contents
Problem
For how many integers between and , inclusive, is an integer? (Recall that .)
Solution 1
The main insight is that
is always an integer. This is true because it is precisely the number of ways to split up objects into unordered groups of size . Thus,
is an integer if , or in other words, if , is an integer. This condition is false precisely when or is prime, by Wilson's Theorem. There are primes between and , inclusive, so there are terms for which
is potentially not an integer. It can be easily verified that the above expression is not an integer for as there are more factors of in the denominator than the numerator. Similarly, it can be verified that the above expression is not an integer for any prime , as there are more factors of p in the denominator than the numerator. Thus all values of n make the expression not an integer and the answer is .
SideNote: Another method to prove that is always an integer is instead as follows using Number Theory. Notice that will divide the numerator times, since contains not one but two factors of Also, for notice that divides at least times. Thus, each integer from to will divide at least times, which proves such a lemma.
Solution 2
We can use the P-Adic Valuation (more info could be found here: Mathematicial notation) of n to solve this problem (recall the P-Adic Valuation of 'n' is denoted by and is defined as the greatest power of some prime 'p' that divides n. For example, or .) Using Legendre's formula, we know that :
Seeing factorials involved in the problem, this prompts us to use Legendre's Formula where n is a power of a prime.
We also know that , . Knowing that if , we have that :
and we must find all n for which this is true.
If we plug in , by Legendre's we get two equations:
And we also get :
But we are asked to prove that which is false for all 'n' where n is prime.
Now we try the same for , where p is a prime. By Legendre we arrive at:
and
Then we get:
Which is true for all primes except for 2, so doesn't work. It can easily be verified that for all where is an integer greater than 2, satisfies the inequality :
Therefore, there are 16 values that don't work and values that work.
~qwertysri987
See Also
Video Solution by Richard Rusczyk: https://www.youtube.com/watch?v=9klaWnZojq0
2019 AMC 10A (Problems • Answer Key • Resources) | ||
Preceded by Problem 24 |
Followed by Last Problem | |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | ||
All AMC 10 Problems and Solutions |
2019 AMC 12A (Problems • Answer Key • Resources) | |
Preceded by Problem 23 |
Followed by Problem 25 |
1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 | |
All AMC 12 Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.