2023 AIME I Problems/Problem 15: Difference between revisions
| (18 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
==Problem== | ==Problem== | ||
Find the largest prime number <math>p<1000</math> for which there exists a complex number <math>z</math> satisfying | Find the largest prime number <math>p<1000</math> for which there exists a complex number <math>z</math> satisfying | ||
* the real and imaginary part of <math>z</math> are both integers; | * the real and imaginary part of <math>z</math> are both integers; | ||
* <math>|z|=\sqrt{p},</math> and | * <math>|z|=\sqrt{p},</math> and | ||
* there exists a triangle whose three side lengths are <math>p,</math> the real part of <math>z^{3},</math> and the imaginary part of <math>z^{3}.</math> | * there exists a triangle whose three side lengths are <math>p,</math> the real part of <math>z^{3},</math> and the imaginary part of <math>z^{3}.</math> | ||
==Solution== | ==Solution== | ||
Assume that <math>z=a+bi</math>. Then, | |||
<cmath>z^3=(a^3-3ab^2)+(3a^2b-b^3)i</cmath>Note that by the Triangle Inequality, | |||
<cmath>|(a^3-3ab^2)-(3a^2b-b^3)|<p\implies |a^3+b^3-3ab^2-3a^2b|<a^2+b^2</cmath>Thus, we know | |||
<cmath>|a+b||a^2+b^2-4ab|<a^2+b^2</cmath>Without loss of generality, assume <math>a>b</math> (as otherwise, consider <math>i^3\overline z=b+ai</math>). If <math>|a/b|\geq 4</math>, then | |||
<cmath>17b^2\geq a^2+b^2>|a+b||a^2+b^2-4ab|\geq |b-4b||16b^2-16b^2+b^2|=3b^3</cmath>`Thus, this means <math>b\leq\frac{17}3</math> or <math>b\leq 5</math>. Also note that the roots of <math>x^2-4x+1</math> are <math>2\pm\sqrt 3</math>, so thus if <math>b\geq 6</math>, | |||
<cmath>2\sqrt 3b=(2(2-\sqrt 3)-4)b<a<4b</cmath>Note that | |||
<cmath>1000>p=a^2+b^2\geq 12b^2+b^2=13b^2</cmath>so <math>b^2<81</math>, and <math>b<9</math>. If <math>b=8</math>, then <math>16\sqrt 3\leq a\leq 32</math>. Note that <math>\gcd(a,b)=1</math>, and <math>a\not\equiv b\pmod 2</math>, so <math>a=29</math> or <math>31</math>. However, then <math>5\mid a^2+b^2</math>, absurd. | |||
If <math>b=7</math>, by similar logic, we have that <math>14\sqrt 3 <a< 28</math>, so <math>a=26</math>. However, once again, <math>5\mid a^2+b^2</math>. If <math>b=6</math>, by the same logic, <math>12\sqrt3<a<24</math>, so <math>a=23</math>, where we run into the same problem. Thus <math>b\leq 5</math> indeed. | |||
If <math>b=5</math>, note that | |||
<cmath>(a+5)(a^2+25-20a)<a^2+25\implies a<20</cmath>We note that <math>p=5^2+18^2=349</math> works. Thus, we just need to make sure that if <math>b\leq 4</math>, <math>a\leq 18</math>. But this is easy, as | |||
<cmath>p>(a+b)(a^2+b^2-4ab)\geq (4+18)(4^2+18^2-4\cdot 4\cdot 18)>1000</cmath>absurd. Thus, the answer is <math>\boxed{349}</math>. | |||
==Solution 2== | |||
Denote <math>z = a + i b</math>. Thus, <math>a^2 + b^2 = p</math>. | Denote <math>z = a + i b</math>. Thus, <math>a^2 + b^2 = p</math>. | ||
| Line 35: | Line 46: | ||
</cmath> | </cmath> | ||
We notice that <math>| z^3 | = p^{3/2}</math>, and <math>{\rm Re} \left( z^3 \right)</math>, <math>{\rm Im} \left( z^3 \right)</math>, and <math>| z^3 |</math> form a right triangle. Thus, <math>{\rm Re} z^3 + {\rm Im} z^3 > p^{3/2}</math>. | We notice that <math>| z^3 | = p^{3/2}</math>, and <math>{\rm Re} \left( z^3 \right)</math>, <math>{\rm Im} \left( z^3 \right)</math>, and <math>| z^3 |</math> form a right triangle. Thus, <math>{\rm Re} \left( z^3 \right) + {\rm Im} \left( z^3 \right) > p^{3/2}</math>. | ||
Because <math>p > 1</math>, <math>p^{3/2} > p</math>. | Because <math>p > 1</math>, <math>p^{3/2} > p</math>. | ||
Therefore, (3) holds. | Therefore, (3) holds. | ||
| Line 84: | Line 95: | ||
To facilitate efficient search, we apply the following criteria: | To facilitate efficient search, we apply the following criteria: | ||
To satisfy (7) and <math>a^2 + b^2 < 1000</math>, we have <math>1 \leq b \leq 15</math>. | |||
In the outer layer, we search for <math>b</math> in a decreasing order. | In the outer layer, we search for <math>b</math> in a decreasing order. | ||
In the inner layer, for each given <math>b</math>, we search for <math>a</math>. | In the inner layer, for each given <math>b</math>, we search for <math>a</math>. | ||
Given <math>b</math>, we search for <math>a</math> in the range <math>\sqrt{3} b < a < \sqrt{1000 - b^2}</math>. | |||
We can prove that for <math>b \geq 9</math>, there is no feasible <math>a</math>. | |||
The proof is as follows. | The proof is as follows. | ||
For <math>b \geq 9</math>, to satisfy <math>a^2 + b^2 < 1000</math>, we have <math>a \leq 30</math>. | For <math>b \geq 9</math>, to satisfy <math>a^2 + b^2 < 1000</math>, we have <math>a \leq 30</math>. | ||
| Line 118: | Line 127: | ||
Therefore, we only need to consider <math>b \leq 8</math>. | Therefore, we only need to consider <math>b \leq 8</math>. | ||
We eliminate <math>a</math> that is not relatively prime to <math>b</math>. | |||
We use the following criteria to quickly eliminate <math>a</math> that make <math>a^2 + b^2</math> a composite number. | |||
* For <math>b \equiv 1 \pmod{2}</math>, we eliminate <math>a</math> satisfying <math>a \equiv 1 \pmod{2}</math>. | * For <math>b \equiv 1 \pmod{2}</math>, we eliminate <math>a</math> satisfying <math>a \equiv 1 \pmod{2}</math>. | ||
| Line 138: | Line 147: | ||
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ||
==Solution 3== | |||
Let <imath>z = a + b i (a,b\in I)</imath>. <imath>a^2 + b^2 = prime < 1000</imath>, <imath>(a,b) = 1</imath>. | |||
According to the question, <imath>{\rm Re} \left( z^3 \right)</imath>, <imath>{\rm Im} \left( z^3 \right)</imath>, and <imath>|z^3|</imath> construct the side-lengths of a non-degenerate triangle. | |||
<imath>z^3 = (a+bi)^3 = a^3+3a^2bi-3ab^2-b^3i = (a^3 - 3ab^2) + (3a^2b-b^3)i</imath> | |||
<imath>{\rm Re} \left( z^3 \right) = a^3 - 3ab^2 > 0 => a(a^2 - 3b^2) > 0</imath> | |||
[[File:P15.png|200px]] | |||
<imath>{\rm Im} \left( z^3 \right) = a^3 - 3ab^2 > 0 => a(a^2 - 3b^2) > 0</imath> | |||
[[File:P15_2.png|200px]] | |||
This means that the values of <imath>a</imath> and<imath>b</imath> should be limited in coincident areas these two graphs. | |||
[[File:P15_1.png|350px]] | |||
Also | |||
<imath>{\rm Re} \left( z^3 \right) + {\rm Im} \left( z^3 \right) > |z^3| > |z||z^2|>|z^2|</imath> | |||
<imath>|{\rm Re} \left( z^3 \right) - {\rm Im} \left( z^3 \right)| < |z|^2</imath> | |||
<imath>|a^3-3ab^2-(3a^2b-b^3)| < a^2+b^2</imath> | |||
<imath>=|a^3-3ab^2+b^3-3a^2b|</imath> | |||
<imath>=|a^3+b^3-3ab(a+b)|</imath> | |||
<imath>=|a+b||a^2-4ab+b^2|<a^2+b^2 (*)</imath> | |||
If <imath>a<0,b>0</imath>, <imath>|a^2-4ab+b^2|>|a^2+b^2|</imath>, making statement <imath>(*)</imath> false. | |||
Combining with the former graph depicting possible ranges of <imath>a,b</imath>, by loss of generality, we assume <imath>a,b</imath> both <imath>>0</imath> and exists in the first <imath>30^{\circ}</imath> of the circle. | |||
Let <imath>\frac{a}{b} = \lambda > \sqrt{3}</imath>. | |||
<imath>(*) |b^3(1+\lambda)\cdot({\lambda}^{2}-4\lambda+1)| < b^2(1+{\lambda}^{2})</imath> | |||
<imath>b<|\frac{1+{\lambda}^2}{1+\lambda}|\cdot|\frac{1}{{\lambda}^{2}-4\lambda+1}|</imath> | |||
To clearly visualize, we graph out <imath>|\frac{1+{\lambda}^2}{1+\lambda}|</imath> and <imath>|{\lambda}^{2}-4\lambda+1|</imath> separately. | |||
[[File:P15_full.png|700px]] | |||
When <imath>\lambda</imath> is around <imath>2+\sqrt{3}</imath>, b reaches its maximum upper bound. | |||
<imath>b^2(1+{\lambda}^{2}) < 1000</imath> | |||
<imath>b^2<66</imath> | |||
<imath>b\le 8</imath> | |||
Testing values of <imath>b</imath> in decreasing order, starting from 8, we test out each corresponding value of <imath>a</imath>(<imath>b\cdot\lambda</imath>)by trying the two whole numbers closest to the real value of <imath>a</imath>. | |||
We finally get that <imath>b=5, a=18</imath> and <imath>p = 5^2+18^2 = \boxed{349}</imath> | |||
~cassphe | |||
==Video Solution== | ==Video Solution== | ||
| Line 144: | Line 213: | ||
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com) | ||
==Video Solution== | |||
https://youtu.be/tELK8fy36bs | |||
~MathProblemSolvingSkills.com | |||
==Animated Video Solution== | ==Animated Video Solution== | ||
Latest revision as of 09:29, 7 November 2025
Problem
Find the largest prime number
for which there exists a complex number
satisfying
- the real and imaginary part of
are both integers;
and- there exists a triangle whose three side lengths are
the real part of
and the imaginary part of 
Solution
Assume that
. Then,
Note that by the Triangle Inequality,
Thus, we know
Without loss of generality, assume
(as otherwise, consider
). If
, then
`Thus, this means
or
. Also note that the roots of
are
, so thus if
,
Note that
so
, and
. If
, then
. Note that
, and
, so
or
. However, then
, absurd.
If
, by similar logic, we have that
, so
. However, once again,
. If
, by the same logic,
, so
, where we run into the same problem. Thus
indeed.
If
, note that
We note that
works. Thus, we just need to make sure that if
,
. But this is easy, as
absurd. Thus, the answer is
.
Solution 2
Denote
. Thus,
.
Thus,
Because
,
,
are three sides of a triangle, we have
and
.
Thus,
Because
,
,
are three sides of a triangle, we have the following triangle inequalities:
We notice that
, and
,
, and
form a right triangle. Thus,
.
Because
,
.
Therefore, (3) holds.
Conditions (4) and (5) can be written in the joint form as
We have
and
.
Thus, (5) can be written as
Therefore, we need to jointly solve (1), (2), (6).
From (1) and (2), we have either
, or
.
In (6), by symmetry, without loss of generality, we assume
.
Thus, (1) and (2) are reduced to
Let
. Plugging this into (6), we get
Because
is a prime,
and
are relatively prime.
Therefore, we can use (7), (8),
, and
and
are relatively prime to solve the problem.
To facilitate efficient search, we apply the following criteria:
To satisfy (7) and
, we have
.
In the outer layer, we search for
in a decreasing order.
In the inner layer, for each given
, we search for
.
Given
, we search for
in the range
.
We can prove that for
, there is no feasible
.
The proof is as follows.
For
, to satisfy
, we have
.
Thus,
.
Thus, the R.H.S. of (8) has the following upper bound
Hence, to satisfy (8), a necessary condition is
However, this cannot be satisfied for
.
Therefore, there is no feasible solution for
.
Therefore, we only need to consider
.
We eliminate
that is not relatively prime to
.
We use the following criteria to quickly eliminate
that make
a composite number.
- For
, we eliminate
satisfying
.
- For
(resp.
), we eliminate
satisfying
(resp.
).
\item For the remaining
, check whether (8) and the condition that
is prime are both satisfied.
The first feasible solution is
and
.
Thus,
.
\item For the remaining search, given
, we only search for
.
Following the above search criteria, we find the final answer as
and
.
Thus, the largest prime
is
.
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Solution 3
Let
.
,
.
According to the question,
,
, and
construct the side-lengths of a non-degenerate triangle.
This means that the values of
and
should be limited in coincident areas these two graphs.
Also
If
,
, making statement
false.
Combining with the former graph depicting possible ranges of
, by loss of generality, we assume
both
and exists in the first
of the circle.
Let
.
To clearly visualize, we graph out
and
separately.
When
is around
, b reaches its maximum upper bound.
Testing values of
in decreasing order, starting from 8, we test out each corresponding value of
(
)by trying the two whole numbers closest to the real value of
.
We finally get that
and
~cassphe
Video Solution
~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)
Video Solution
~MathProblemSolvingSkills.com
Animated Video Solution
~Star League (https://starleague.us)
See also
| 2023 AIME I (Problems • Answer Key • Resources) | ||
| Preceded by Problem 14 |
Followed by Last Problem | |
| 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 | ||
| All AIME Problems and Solutions | ||
These problems are copyrighted © by the Mathematical Association of America.