Given a positive integer nn, we say that a polynomial PP with real coefficients is nn-pretty if the equation P(x)=P(x)P(\lfloor x \rfloor) = \lfloor P(x) \rfloor has exactly nn real solutions. Show that for each positive integer nn

(a) there exists an nn-pretty polynomial;

(b) any nn-pretty polynomial has a degree of at least 2n+13\frac{2n + 1}{3}.

(Remark. For a real number xx, we denote by x\lfloor x \rfloor the largest integer smaller than or equal to xx.)