返回题库

AIME 2023 I · 第 15 题

AIME 2023 I — Problem 15

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Find the largest prime number p<1000p<1000 for which there exists a complex number zz satisfying

  • the real and imaginary part of zz are both integers;
  • z=p,|z|=\sqrt{p}, and
  • there exists a triangle whose three side lengths are p,p, the real part of z3,z^{3}, and the imaginary part of z3.z^{3}.
解析

Solution

Assume that z=a+biz=a+bi. Then,

z3=(a33ab2)+(3a2bb3)iz^3=(a^3-3ab^2)+(3a^2b-b^3)i Note that by the Triangle Inequality,

(a33ab2)(3a2bb3)<p    a3+b33ab23a2b<a2+b2|(a^3-3ab^2)-(3a^2b-b^3)|<p\implies |a^3+b^3-3ab^2-3a^2b|<a^2+b^2 Thus, we know

a+ba2+b24ab<a2+b2|a+b||a^2+b^2-4ab|<a^2+b^2 Without loss of generality, assume a>ba>b (as otherwise, consider i3z=b+aii^3\overline z=b+ai). If a/b4|a/b|\geq 4, then

17b2a2+b2>a+ba2+b24abb4b16b216b2+b2=3b317b^2\geq a^2+b^2>|a+b||a^2+b^2-4ab|\geq |b-4b||16b^2-16b^2+b^2|=3b^3 `Thus, this means b173b\leq\frac{17}3 or b5b\leq 5. Also note that the roots of x24x+1x^2-4x+1 are 2±32\pm\sqrt 3, so thus if b6b\geq 6,

23b=(2(23)4)b<a<4b2\sqrt 3b=(2(2-\sqrt 3)-4)b<a<4b Note that

1000>p=a2+b212b2+b2=13b21000>p=a^2+b^2\geq 12b^2+b^2=13b^2 so b2<81b^2<81, and b<9b<9. If b=8b=8, then 163a3216\sqrt 3\leq a\leq 32. Note that gcd(a,b)=1\gcd(a,b)=1, and a≢b(mod2)a\not\equiv b\pmod 2, so a=29a=29 or 3131. However, then 5a2+b25\mid a^2+b^2, absurd.

If b=7b=7, by similar logic, we have that 143,so14\sqrt 3 , soa=26.However,onceagain,. However, once again,5\mid a^2+b^2.If. Ifb=6,bythesamelogic,, by the same logic,12\sqrt3, so a=23a=23, where we run into the same problem. Thus b5b\leq 5 indeed.

If b=5b=5, note that

(a+5)(a2+2520a)<a2+25    a<20(a+5)(a^2+25-20a)<a^2+25\implies a<20 We note that p=52+182=349p=5^2+18^2=349 works. Thus, we just need to make sure that if b4b\leq 4, a18a\leq 18. But this is easy, as

p>(a+b)(a2+b24ab)(4+18)(42+1824418)>1000p>(a+b)(a^2+b^2-4ab)\geq (4+18)(4^2+18^2-4\cdot 4\cdot 18)>1000 absurd. Thus, the answer is 349\boxed{349}.

Solution 2

Denote z=a+ibz = a + i b. Thus, a2+b2=pa^2 + b^2 = p.

Thus,

z3=a(a23b2)+ib(b2+3a2).z^3 = a \left( a^2 - 3 b^2 \right) + i b \left( - b^2 + 3 a^2 \right) . Because pp, Re(z3){\rm Re} \left( z^3 \right), Im(z3){\rm Im} \left( z^3 \right) are three sides of a triangle, we have Re(z3)>0{\rm Re} \left( z^3 \right) > 0 and Im(z3)>0{\rm Im} \left( z^3 \right) > 0. Thus,

a(a23b2)>0,(1)b(b2+3a2)>0.(2)\begin{aligned} a \left( a^2 - 3 b^2 \right) & > 0 , \hspace{1cm} (1) \\ b \left( - b^2 + 3 a^2 \right) & > 0. \hspace{1cm} (2) \end{aligned} Because pp, Re(z3){\rm Re} \left( z^3 \right), Im(z3){\rm Im} \left( z^3 \right) are three sides of a triangle, we have the following triangle inequalities:

Re(z3)+Im(z3)>p(3)p+Re(z3)>Im(z3)(4)p+Im(z3)>Re(z3)(5)\begin{aligned} {\rm Re} \left( z^3 \right) + {\rm Im} \left( z^3 \right) & > p \hspace{1cm} (3) \\ p + {\rm Re} \left( z^3 \right) & > {\rm Im} \left( z^3 \right) \hspace{1cm} (4) \\ p + {\rm Im} \left( z^3 \right) & > {\rm Re} \left( z^3 \right) \hspace{1cm} (5) \end{aligned} We notice that z3=p3/2| z^3 | = p^{3/2}, and Re(z3){\rm Re} \left( z^3 \right), Im(z3){\rm Im} \left( z^3 \right), and z3| z^3 | form a right triangle. Thus, Re(z3)+Im(z3)>p3/2{\rm Re} \left( z^3 \right) + {\rm Im} \left( z^3 \right) > p^{3/2}. Because p>1p > 1, p3/2>pp^{3/2} > p. Therefore, (3) holds.

Conditions (4) and (5) can be written in the joint form as

Re(z3)Im(z3)<p.(4)\left| {\rm Re} \left( z^3 \right) - {\rm Im} \left( z^3 \right) \right| < p . \hspace{1cm} (4) We have

Re(z3)Im(z3)=(a33ab2)(b3+3a2b)=(a+b)(a24ab+b2)\begin{aligned} {\rm Re} \left( z^3 \right) - {\rm Im} \left( z^3 \right) & = \left( a^3 - 3 a b^2 \right) - \left( - b^3 + 3 a^2 b \right) \\ & = \left( a + b \right) \left( a^2 - 4 ab + b^2 \right) \end{aligned} and p=a2+b2p = a^2 + b^2.

Thus, (5) can be written as

(a+b)(a24ab+b2)<a2+b2.(6)\left| \left( a + b \right) \left( a^2 - 4 ab + b^2 \right) \right| < a^2 + b^2 . \hspace{1cm} (6) Therefore, we need to jointly solve (1), (2), (6). From (1) and (2), we have either a,b>0a, b >0, or a,b<0a, b < 0. In (6), by symmetry, without loss of generality, we assume a,b>0a, b > 0.

Thus, (1) and (2) are reduced to

a>3b.(7)a > \sqrt{3} b . \hspace{1cm} (7) Let a=λba = \lambda b. Plugging this into (6), we get

((λ2)23)<1bλ2+1λ+1.(8)\begin{aligned} \left| \left( \left( \lambda - 2 \right)^2 - 3 \right) \right| < \frac{1}{b} \frac{\lambda^2 + 1}{\lambda + 1} . \hspace{1cm} (8) \end{aligned} Because p=a2+b2p= a^2 + b^2 is a prime, aa and bb are relatively prime.

Therefore, we can use (7), (8), a2+b2<1000a^2 + b^2 <1000, and aa and bb are relatively prime to solve the problem.

To facilitate efficient search, we apply the following criteria:

To satisfy (7) and a2+b2<1000a^2 + b^2 < 1000, we have 1b151 \leq b \leq 15. In the outer layer, we search for bb in a decreasing order. In the inner layer, for each given bb, we search for aa. Given bb, we search for aa in the range 3b<a<1000b2\sqrt{3} b < a < \sqrt{1000 - b^2}. We can prove that for b9b \geq 9, there is no feasible aa. The proof is as follows.

For b9b \geq 9, to satisfy a2+b2<1000a^2 + b^2 < 1000, we have a30a \leq 30. Thus, 3<λ309\sqrt{3} < \lambda \leq \frac{30}{9}. Thus, the R.H.S. of (8) has the following upper bound

1bλ2+1λ+1<1bλ2+λλ+1=λb3099<1027.\begin{aligned} \frac{1}{b} \frac{\lambda^2 + 1}{\lambda + 1} & < \frac{1}{b} \frac{\lambda^2 + \lambda}{\lambda + 1} \\ & = \frac{\lambda}{b} \\ & \leq \frac{\frac{30}{9}}{9} \\ & < \frac{10}{27} . \end{aligned} Hence, to satisfy (8), a necessary condition is

((λ2)23)<1027.\begin{aligned} \left| \left( \left( \lambda - 2 \right)^2 - 3 \right) \right| < \frac{10}{27} . \end{aligned} However, this cannot be satisfied for 3<λ309\sqrt{3} < \lambda \leq \frac{30}{9}. Therefore, there is no feasible solution for b9b \geq 9. Therefore, we only need to consider b8b \leq 8.

We eliminate aa that is not relatively prime to bb.

We use the following criteria to quickly eliminate aa that make a2+b2a^2 + b^2 a composite number.

  • For b1(mod2)b \equiv 1 \pmod{2}, we eliminate aa satisfying a1(mod2)a \equiv 1 \pmod{2}.

  • For b±1(mod5)b \equiv \pm 1 \pmod{5} (resp. b±2(mod5)b \equiv \pm 2 \pmod{5}), we eliminate aa satisfying a±2(mod5)a \equiv \pm 2 \pmod{5} (resp. a±1(mod5)a \equiv \pm 1 \pmod{5}).

\item For the remaining (b,a)\left( b, a \right), check whether (8) and the condition that a2+b2a^2 + b^2 is prime are both satisfied.

The first feasible solution is b=5b = 5 and a=18a = 18. Thus, a2+b2=349a^2 + b^2 = 349.

\item For the remaining search, given bb, we only search for a349b2a \geq \sqrt{349 - b^2}.

Following the above search criteria, we find the final answer as b=5b = 5 and a=18a = 18. Thus, the largest prime pp is p=a2+b2=(349) p = a^2 + b^2 = \boxed{\textbf{(349) }}.

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)

Solution 3

Let z=a+bi(a,bI)z = a + b i (a,b\in I). a2+b2=prime<1000a^2 + b^2 = prime < 1000, (a,b)=1(a,b) = 1.

According to the question, Re(z3){\rm Re} \left( z^3 \right), Im(z3){\rm Im} \left( z^3 \right), and z3|z^3| construct the side-lengths of a non-degenerate triangle.

z3=(a+bi)3=a3+3a2bi3ab2b3i=(a33ab2)+(3a2bb3)iz^3 = (a+bi)^3 = a^3+3a^2bi-3ab^2-b^3i = (a^3 - 3ab^2) + (3a^2b-b^3)i Re(z3)=a33ab2>0=>a(a23b2)>0{\rm Re} \left( z^3 \right) = a^3 - 3ab^2 > 0 => a(a^2 - 3b^2) > 0

AIME diagram

Im(z3)=a33ab2>0=>a(a23b2)>0{\rm Im} \left( z^3 \right) = a^3 - 3ab^2 > 0 => a(a^2 - 3b^2) > 0

AIME diagram

This means that the values of aa andbb should be limited in coincident areas these two graphs.

AIME diagram

Also

Re(z3)+Im(z3)>z3>zz2>z2{\rm Re} \left( z^3 \right) + {\rm Im} \left( z^3 \right) > |z^3| > |z||z^2|>|z^2| Re(z3)Im(z3)<z2|{\rm Re} \left( z^3 \right) - {\rm Im} \left( z^3 \right)| < |z|^2 a33ab2(3a2bb3)<a2+b2|a^3-3ab^2-(3a^2b-b^3)| < a^2+b^2 =a33ab2+b33a2b=|a^3-3ab^2+b^3-3a^2b| =a3+b33ab(a+b)=|a^3+b^3-3ab(a+b)|

$=|a+b||a^2-4ab+b^2|

If a<0,b>0a<0,b>0, a24ab+b2>a2+b2|a^2-4ab+b^2|>|a^2+b^2|, making statement ()(*) false. Combining with the former graph depicting possible ranges of a,ba,b, by loss of generality, we assume a,ba,b both >0>0 and exists in the first 3030^{\circ} of the circle.

Let ab=λ>3\frac{a}{b} = \lambda > \sqrt{3}.

()b3(1+λ)(λ24λ+1)<b2(1+λ2)(*) |b^3(1+\lambda)\cdot({\lambda}^{2}-4\lambda+1)| < b^2(1+{\lambda}^{2}) b<1+λ21+λ1λ24λ+1b<|\frac{1+{\lambda}^2}{1+\lambda}|\cdot|\frac{1}{{\lambda}^{2}-4\lambda+1}|

To clearly visualize, we graph out 1+λ21+λ|\frac{1+{\lambda}^2}{1+\lambda}| and λ24λ+1|{\lambda}^{2}-4\lambda+1| separately.

AIME diagram

When λ\lambda is around 2+32+\sqrt{3}, b reaches its maximum upper bound.

b2(1+λ2)<1000b^2(1+{\lambda}^{2}) < 1000 b2<66b^2<66 b8b\le 8

Testing values of bb in decreasing order, starting from 8, we test out each corresponding value of aa(bλb\cdot\lambda)by trying the two whole numbers closest to the real value of aa.

We finally get that b=5,a=18b=5, a=18 and p=52+182=349p = 5^2+18^2 = \boxed{349}

~cassphe

Video Solution

https://youtu.be/V0KFMIXmp08

~Steven Chen (Professor Chen Education Palace, www.professorchenedu.com)

Video Solution

https://youtu.be/tELK8fy36bs

~MathProblemSolvingSkills.com

Animated Video Solution

https://youtu.be/1Y8ql7eHt34

~Star League (https://starleague.us)