Find all integers a and b such that $2a + 2b = ab$ . [closed]

Find all integers $$a$$ and $$b$$ such that $$2a + 2b = ab$$.

closed as off-topic by Cameron Williams, Martin R, Eevee Trainer, John Omielan, YuiTo ChengMay 27 at 6:29

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please provide additional context, which ideally explains why the question is relevant to you and our community. Some forms of context include: background and motivation, relevant definitions, source, possible strategies, your current progress, why the question is interesting or important, etc." – Cameron Williams, Martin R, Eevee Trainer, John Omielan, YuiTo Cheng
If this question can be reworded to fit the rules in the help center, please edit the question.

• Welcome to MSE. What have you tried? Are you stuck on some concept? Please show your effort and give more details. Is this a homework problem? What level? – Andrei May 27 at 4:00
• What have you tried? – El Ectric May 27 at 4:03
• Hint: $2(a+b) = ab \iff (a-2)(b-2) = 4$. – achille hui May 27 at 4:04

\begin{align} 2a+2b &= ab \\ ab-2a-2b &= 0 \\ a(b-2)-2b &= 0 \\ a(b-2)-2(b-2) &= (-2)(-2) = 4 \\ (a-2)(b-2) &= 4 \end{align}