I need to find $f(x)\in \mathbb{Q}[x]$, such that:
- $f(x)\equiv 1 \pmod{(x-1)^2}$
- $f(x)\equiv x \pmod{x^2}$
- $\deg(f(x))<4$
So, what I understand so far is that:
- $(x-1)^2\mid f(x)-1$
- $x^2\mid f(x)-x$
(I hope I'm right at those)
But I'm stuck here, I don't know how to continue...
Can you help me please?
Thank you!