Finding an elementary function Can someone please help me find any elementary function that satisfies


*

*$f(0) = 6$

*$f(1) = f(-1) = 4$

*$f(2) = f(-2) = 1$?
I have been trying for nearly an hour, but I still can't figure it out.  Only the points listed above matter. Nothing else matters (I don't care what $f(1.5)$ or $f(3)$ or $f(-100)$ are). 
The symmetry motivated me to try and use absolute value, but it didn't get me anywhere since there is nonconstant slope.

Note that if given a function $h(x)$ where $h(-x)=x$, if we can find a function $g(x)$ such that $g(h(0))=6$, $g(h(1))=4$, $g(h(2))=1$, then we can take $f(x) = g(h(x))$.  Rakibul Islam Prince seems to have taken $h(x) = x^2$ and $g(x)=\frac14 x^2-\frac94x+6$. lulu seems to have taken $h(x) = |x|$ and $g(x) = 6-\frac12x^2-\frac32x$ (note that $|x|^2$ is the same thing as $x^2$), but their answer can also be derived from $h(x)=x^2$ and $g(x)=6-\frac12x-\frac32\sqrt{|x|}$.
