Problem

Source: Turkey National Mathematical Olympiad 2021 P2

Tags: Polynomials



If a polynomial with real coefficients of degree $d$ has at least $d$ coefficients equal to $1$ and has $d$ real roots, what is the maximum possible value of $d$? (Note: The roots of the polynomial do not have to be different from each other.)