
Iordan G. answered 01/12/24
Math PhD; Expert in Discrete Math, Proofs, Algorithms
There are no integer solutions. The equation mod 3 is
2x2 = 1
This is because 14 = 2 mod 3, 15 = 0 mod 3, and 7 = 1 mod 3. Next, multiply both sides by 2 to get x2 = 2 mod 3. Finally, observe that 2 is not a square mod 3. Indeed, 12 and 22 are both 1 mod 3.
Note: A similar approach works reducing mod 5, where one again reaches x2 = 2 and observes that 2 is not a square mod 5. For a deeper dive, look up the law of quadratic reciprocity.
Ci S.
Thank you!01/11/24