Diophantine riddle
The weekly riddle from The Riddler is to find solutions to the Diophantine equation
c³-c=b²+4
(when b and c are positive integers). First, forget about ChatGPT since it states this is a Pell equation. With a wrong argument. Second, when running a basic R code, using as.double to handle larger integers, the only solution less than 10⁶ this code returned was
[1] 999799 999700015
with the first column being c and the second b. But this is not a correct solution!, as confirmed by Mathematica, which states there is no integer solution. This makes sense when looking at the unique real solution (in c) of the cubic
c³-c-(b²+4)=0
since the solution (using Cardano’s formula) involves
leaving the inverse of 27 as the only non-integer term in the expression when b is even… (The exact solution that this Diophantine equation has no solution is simpler: the lhs is a multiple of 3, while the rhs cannot be, as shown by looking at b(3).)
February 27, 2023 at 3:20 pm
Fermat’s little theorem states that x^p = x mod p and, equivalently, that x^(p-1) = 1 mod p. Your key observation to consider the equation mod 3 and Fermat’s little theorem means that mod 3 the lhs = 0 and the rhs = 2. No solutions mod 3 means no solutions.
March 1, 2023 at 8:51 am
Perfect argument (and it fits in the margin!)
March 1, 2023 at 1:23 pm
“fits in the margins”- perhaps that is why it is called Fermat’s ahem little theorem.