Find all triples $(a,b,c)$ of integers such that $a+b+c = 3$ and $ab+bc+ca +2abc= 2017$.
Adding the two equations and then adding $1$ gives $(a+1)(b+1)(c+1)+abc = 2021$. I then thought about trying to prove that $abc$ must divide $2021$ but didn't see how to prove that.