Is it a polynomial?

Algebra Level 3

Define a function $$f : \mathbb{R} \to \mathbb{R}$$ such that $$f(f(x))=x^2-x+1$$ for all real $$x$$.

Evaluate $$f(0) = \, \text{? }$$.

×