the question
Find all the numbers $\overline{abcd}$ (4-digit number in base 10) that check the relationship. $$5a^2+5b^2+2c^2+2d^2-2ac-2cd-4ab-4bd-16a+16b-4d+20=0$$
my idea
I tried grouping them in a whole perfect square or I tried using formulas such as
$$a^2+2ab+b^2=(a+b)^2$$
$$a^2-2ab+b^2=(a-b)^2$$
I tried many of this variants but none of them got me to a useful form.
I don't know where to start! THope one of you can help me! Thank you!