Remainders on division of polynomials I am told that the remainder on division of a polynomial $p(z)$ by $z^3+z^2+z+1$ is $z^2-z+1$. I am also given that $p(1)=2$, and then asked to determine the remainder when $p(z)$ is divided by $z^4-1$.
I have expressed $p(z)$ as $p(z) = (z^3+z^2+z+1)(q(z)) + z^2-z+1$, for some polynomial $q$. And I found that $p(1)=2$ implies $q(1)=1/4$.
I then expressed $p(z)$ also as $p(z)=(z^4-1)(h(z)) + r(z)$, for some polynomial $h(z)$, where $r(z)$ is the remainder from the division of $p(z)$ by $z^4-1$. 
I then divided $z^4-1$ by $z^3+z^2+z+1$ and found that $z^4-1 = (z-1)(z^3+z^2+z+1)$, so that I could express $p(z)$ as $p(z)= (z-1)(z^3+z^2+z+1)(h(z)) + r(z)$. 
From then on I couldn't see how to proceed. Any hints on how to better approach this problem would be appreciated!

Hint: Write $q(z)=(z-1)s(z)+c$
