Problem

Source: JMO 2017 P4

Tags: JMO, 2017 USAJMO, USAJMO



Are there any triples $(a,b,c)$ of positive integers such that $(a-2)(b-2)(c-2)+12$ is a prime number that properly divides the positive number $a^2+b^2+c^2+abc-2017$?