Problem

Source: Polish MO 2022 P3

Tags: number theory, prime numbers, modular congruences, Divisibility



Positive integers $a,b,c$ satisfying the equation $$a^3+4b+c = abc,$$where $a \geq c$ and the number $p = a^2+2a+2$ is a prime. Prove that $p$ divides $a+2b+2$.