2005 AMC 10A Problems/Problem 24: Difference between revisions
Sevenoptimus (talk | contribs) m Fixed typos in problem statement |
|||
| Line 114: | Line 114: | ||
~ [https://artofproblemsolving.com/wiki/index.php/User:Cxsmi cxsmi] | ~ [https://artofproblemsolving.com/wiki/index.php/User:Cxsmi cxsmi] | ||
**Improved Solution** | |||
<math>n + 48 | We are given that **both** <math>n</math> and <math>n + 48</math> are **squares of prime numbers**. That is: | ||
< | <cmath> | ||
n = p^2 \quad \text{and} \quad n + 48 = q^2, | |||
</cmath> | |||
<math> | where <math>p</math> and <math>q</math> are prime numbers. | ||
Then, | |||
~ | <cmath> | ||
q^2 - p^2 = 48. | |||
</cmath> | |||
Factoring the left-hand side: | |||
<cmath> | |||
(q - p)(q + p) = 48. | |||
</cmath> | |||
Since both <math>q</math> and <math>p</math> are **primes**, their difference <math>q - p</math> must be an even number (because except for 2, all primes are odd). So <math>q + p</math> and <math>q - p</math> are both even, and hence their product is divisible by 4 — consistent with 48. | |||
Now, let’s list factor pairs of 48 where both factors are even (since sum and difference of two odd primes are even): | |||
<cmath> | |||
(2, 24),\ (4, 12),\ (6, 8) | |||
</cmath> | |||
These correspond to: | |||
#### 1. <math>q - p = 2</math>, <math>q + p = 24</math> | |||
Solving: | |||
Add: <math>2q = 26 \Rightarrow q = 13 \Rightarrow p = 11</math> | |||
Then: | |||
<cmath> | |||
n = p^2 = 121,\quad n + 48 = q^2 = 169 | |||
</cmath> | |||
Both 121 and 169 are perfect squares of primes. ✅ | |||
#### 2. <math>q - p = 4</math>, <math>q + p = 12</math> | |||
Add: <math>2q = 16 \Rightarrow q = 8</math>, but **8 is not prime** ❌ | |||
#### 3. <math>q - p = 6</math>, <math>q + p = 8</math> | |||
Add: <math>2q = 14 \Rightarrow q = 7,\ p = 1</math>, but **1 is not prime** ❌ | |||
Only one valid pair works. | |||
--- | |||
###Final Answer: | |||
<cmath> | |||
\boxed{\textbf{(B)}~1} | |||
</cmath> | |||
There is only **1 valid pair** <math>(p, q) = (11, 13)</math> such that both <math>p^2</math> and <math>q^2</math> differ by 48 and are squares of **prime numbers**. | |||
--- | |||
**Bonus Insight**: | |||
This problem boils down to factoring a small difference of squares and knowing which primes are squares away from each other — classic contest technique. | |||
~Ak | |||
==See Also== | ==See Also== | ||
Revision as of 05:13, 1 August 2025
Problem
For each positive integer
, let
denote the greatest prime factor of
. For how many positive integers
is it true that both
and
?
Solution 1
If
, then
, where
is a prime number.
If
, then
is a square, but we know that n is
.
This means we just have to check for squares of primes, add
and look whether the root is a prime number.
We can easily see that the difference between two consecutive square after
is greater than or equal to
,
Hence we have to consider only the prime numbers till
.
Squaring prime numbers below
including
we get the following list.
But adding
to a number ending with
will result in a number ending with
, but we know that a perfect square does not end in
, so we can eliminate those cases to get the new list.
Adding
, we get
as the only possible solution.
Hence the answer is
.
edited by mobius247
Note: Solution 1
Since all primes greater than
are odd, we know that the difference between the squares of any two consecutive primes greater than
is at least
, where p is the smaller of the consecutive primes. For
,
. This means that the difference between the squares of any two consecutive primes both greater than
is greater than
, so
and
can't both be the squares of primes if
and
. So, we only need to check
and
.
~apsid
Video Solution
~rudolf1279
Solution 2
If
, then
, where
is a prime number.
If
, then
, where
is a different prime number.
So:
Since
:
.
Looking at pairs of divisors of
, we have several possibilities to solve for
and
:
(Note: you can skip several cases below by observing that
and
must be even, and
.)
(impossible)
(Valid!)
(impossible)
(impossible)
(not prime)
The only solution
where both numbers are primes is
.
Therefore the number of positive integers
that satisfy both statements is
Solution 3
For the statement to be true, we must have both
and
be squares of primes. Support we have the number
, where
is a positive integer. Then the next perfect square,
, is
greater than
. The next perfect square after that will be
greater than
. In general, the prime
will be
greater than
. However, we must have that
.
can take on any value between
and
(if
is equal to
, we have
, where
would have to be negative for the difference to be
). However, we can eliminate all the cases where
is odd, because we would then have a number of the form
, which is odd because
can take only integral values. As such, we consider
,
, and
. If
, then
. Then our squares are
and
, both of which are squares of primes. If
, then
. However,
isn't prime, so we discard this case. Finally, if
, then
. Again,
isn't prime, so we discard this case as well. Thus, we only have
valid case.
~ cxsmi
- Improved Solution**
We are given that **both**
and
are **squares of prime numbers**. That is:
where
and
are prime numbers.
Then,
Factoring the left-hand side:
Since both
and
are **primes**, their difference
must be an even number (because except for 2, all primes are odd). So
and
are both even, and hence their product is divisible by 4 — consistent with 48.
Now, let’s list factor pairs of 48 where both factors are even (since sum and difference of two odd primes are even):
These correspond to:
- 1.
, 
- 1.
Solving:
Add:
Then:
Both 121 and 169 are perfect squares of primes. ✅
- 2.
, 
- 2.
Add:
, but **8 is not prime** ❌
- 3.
, 
- 3.
Add:
, but **1 is not prime** ❌
Only one valid pair works.
---
- Final Answer:
There is only **1 valid pair**
such that both
and
differ by 48 and are squares of **prime numbers**.
---
- Bonus Insight**:
This problem boils down to factoring a small difference of squares and knowing which primes are squares away from each other — classic contest technique.
~Ak
See Also
| 2005 AMC 10A (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 10 Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America, as part of the American Mathematics Competitions. Error creating thumbnail: File missing