Let N=2023. We assume that the equation x3−Nx2−Nx+r=0 has three rational solutions ka, kb, kc, where a,b,c are integers and k is a positive integer with gcd(a,b,c,k)=1. According to Vieta we have ka+kb+kc=N and kb⋅kc+ka⋅kc+ka⋅kb=−N. This is equivalent to
a+b+cbc+ac+ab=kN=−k2N⇒a2+b2+c2+2(bc+ac+ab)⇒a2+b2+c2=k2N2=k2N2+2k2N=k2N(N+2).
In a next step, we recognize that k cannot be even. If it were, we would have a2+b2+c2≡0(mod4), from which we obtain that a,b,c are all even, as 0 and 1 are the only quadratic residues modulo 4. This contradicts the assumption that gcd(a,b,c,k)=1.
For odd values of k, we have k2≡1(mod8). Furthermore, we have N=2023≡7(mod8). From this, we obtain k2N(N+2)≡1⋅7⋅1≡7(mod8). The sum of three perfect squares can never be congruent to 7 modulo 8, which can easily be verified by adding all possible combinations (the only quadratic residues modulo 8 are 0, 1 and 4). It follows that the above equation can never have three rational solutions.
(Josef Greilhuber) □