Problem

Source: Moldova EGMO TST 2021

Tags: number theory



Find all pairs of nonnegative integers (x,p), where p is prime, that verify x(x+1)(x+2)(x+3)=1679p1+1680p1+1681p1.