Find all polynomials with integer coefficients PPP such that for all positive integers nnn , the sequence 0,P(0),P(P(0)),⋯0, P(0), P(P(0)), \cdots0,P(0),P(P(0)),⋯ is eventually constant modulo nnn .
Proposed by Ivan Chan