Problem

Source: Serbia MO 2005 3&4th Grades P3

Tags: functional equation, fe, algebra, polynomial



Determine all polynomials $p$ with real coefficients for which $p(0)=0$ and $$f(f(n))+n=4f(n)\qquad\text{for all }n\in\mathbb N,$$where $f(n)=\lfloor p(n)\rfloor$.