Problem

Source: 2019 Baltic Way P20

Tags: polynomial, number theory



Let us consider a polynomial $P(x)$ with integers coefficients satisfying $$P(-1)=-4,\ P(-3)=-40,\text{ and } P(-5)=-156.$$What is the largest possible number of integers $x$ satisfying $$P(P(x))=x^2?$$