Problem

Source: Bangladesh Mathematical Olympiad 2021 Problem 4

Tags: algebra



$P(x)$ is a polynomial in $x$ with non-negative integer coefficients. If $P(1)=5$ and $P(P(1))=177$, what is the sum of all possible values of $P(10)$?