Problem

Source: 2019 USAMO 6, by Titu Andreescu and Gabriel Dospinescu

Tags: USAMO, sad stories, sadder, 2019 USAMO Problem 6, Polynomials, Weird problem, the saddest



Find all polynomials $P$ with real coefficients such that $$\frac{P(x)}{yz}+\frac{P(y)}{zx}+\frac{P(z)}{xy}=P(x-y)+P(y-z)+P(z-x)$$holds for all nonzero real numbers $x,y,z$ satisfying $2xyz=x+y+z$. Proposed by Titu Andreescu and Gabriel Dospinescu