Tomorrow I will get my exam. 4 days later I will have an operation. Many Thanks for your help. You tried to answer all my questions. I got very good solutions in this site.

Now I am sending a question that I liked. I solved the question. It has an interesting trick.

P(x)=x^2009+x^2008+3x+2

What is the remainder when P(x) is divided by (x^2-x+1)?