Funny Diophantine from 2023 RMM, Problem 1

投稿日:2023/2/3最終更新日:2025/5/18

I hate combinatorics 😡

Problem Statement

Determine all prime numbers pp and all positive integers xx and yy satisfying

x3+y3=p(xy+p).x^3 + y^3 = p(xy + p).

Solution

Surprising

The solutions are (x,y,p)=(8,1,19),(7,2,13),(5,4,7)(x,y,p)=(8,1,19),(7,2,13),(5,4,7), and the obvious 33 others by swapping xx and yy.

WLOG let xyx \geq y. Note that px,yp \nmid x,y, since if it divides one then it divides the other, but then νp(LHS)3\nu_p(LHS)\geq 3 while νp(RHS)=2\nu_p(RHS)=2. Furthermore, no prime qpq \neq p divides both xx and yy, else it divides pp, which is absurd. Now we observe that if x>px>p, then we have

x3+y3<x(xy+x)=x2y+x2    x2(xy1)+y3<0,x^3+y^3 < x(xy+x) = x^2y + x^2 \implies x^2(x-y-1)+y^3 < 0,

which is also absurd, as this inequality is clearly false for x=y=1x=y=1 and otherwise xy1x\geq y-1 since xyx \neq y is impossible. Thus xpx \leq p, so in fact p>x>yp>x>y.

Factor the LHS as (x+y)(x2xy+y2)(x+y)(x^2-xy+y^2). If px+yp \mid x+y, then x+y=px+y=p for size reasons. But then x2xy+y2=xy+p    (xy)2=px^2-xy+y^2=xy+p \implies (x-y)^2=p, which clearly never happens. Thus px2xy+y2p \mid x^2-xy+y^2, so write x2xy+y2=kpx^2-xy+y^2=kp. We then have

(x+y)k=xy+p    (x+y)k2kxy=(x+y)23xy    (x+y)(k2xy)=(k3)xy.(x+y)k=xy+p \implies (x+y)k^2-kxy=(x+y)^2-3xy \implies (x+y)(k^2-x-y)=(k-3)xy.

Clearly x+y(k3)xyx+y \mid (k-3)xy. Because gcd(x,x+y)=gcd(y,x+y)=1\gcd(x,x+y)=\gcd(y,x+y)=1, it follows that x+yk3x+y \mid k-3. Suppose that k3k \neq 3. Because xx and yy are positive we can't have k=2k=2, and if k=1k=1 then x=y=1x=y=1 which is clearly never a solution for any primes pp. Thus k3k-3 is positive and thus at least x+yx+y. Substituting this back into the original definition of kk, we have

x2xy+y2(x+y+3)p>x(x+y+3)    y2>2xy+3x,x^2-xy+y^2\geq (x+y+3)p>x(x+y+3) \implies y^2>2xy+3x,

which is preposterous. Hence k=3k=3, so we should also have x+y=k2=9x+y=k^2=9. A case check finishes.

Remark Although this solution does not appear to be heavily motivated by the equality cases, it was. One notices that the value of kk must always equal 33, which makes it inevitable that the term will be used somehow. On the other hand, the mere existence of solutions implies that one cannot blindly go in applying size or some other method to obtain a contradiction. When it comes to finding solutions themselves, this is much easier once we reduce the problem to px2xy+y2p \mid x^2-xy+y^2. For cyclotomic polynomial reasons this implies that only p1(mod6)p \equiv 1 \pmod{6} possibly work, and for those primes pp there is some integer aa such that any solution (x,y)(x,y) will have xay(modp)x \equiv ay \pmod{p} up to switching xx and yy (namely aa such that a2a+10a^2-a+1 \equiv 0), so our search space is greatly narrowed. I would be surprised to find a solution that relies on p1(mod6)p \equiv 1 \pmod{6} being true.