MathDB
diophantine 2x^2 + 5xy + 2y^2 = n

Source: 2021 3nd Final Mathematical Cup Junior Division P1 FMC

October 13, 2021
number theoryDiophantine equationdiophantine

Problem Statement

Find all integer nn such that the equation 2x2+5xy+2y2=n2x^2 + 5xy + 2y^2 = n has integer solution for xx and yy.