We can take a polynomial, $p(x)=\left(c_0 + c_1 x^1 + c_2 x^2\right)$, and get a repeating pattern of it by:
$$\frac{p(x)}{1-x}=c_0+(c_0+c_1)x+(c_0+c_1+c_2)x^2 + \dots + (c_0+c_1+c_2)x^m + \dots$$
...We can note that eventually the coefficients of the polynomial repeat. Also, another pattern appears by taking:
$$\frac{p(x)}{1-(x-x^2)}=c_0+$$ $$(c_0+c_1)x+$$ $$(c_1+c_2)x^2+$$ $$(-c_0+c_2)x^3+$$ $$(-c_0-c_1)x^4+$$ $$(-c_1-c_2)x^5+$$ $$(c_0-c_2)x^6+$$ $$(c_0+c_1)x^7+$$ $$(c_1+c_2)x^8+\dots$$
...We can note that the pattern of coefficients begins to repeat with $x^7$, which has the same coefficients as $x^1$.
I'm wondering if we can find more patterns that repeat in this manner, by simply modifying the denominator. So my question is, can we get more patterns like this?
IMPORTANT NOTE
I know that we can take the example above: $$\frac{p(x)}{1-(x-x^2)}$$ and change the $x$ powers to get a new pattern: $$\frac{p(x)}{1-(x^2-x^4)}$$
I'm wondering, instead, if we can expand the denominator, somehow, to get a new pattern, instead of changing the powers of $x$.
What I'm Really After
What is the general formula for $q(x)$ (or how can we find $q(x)$) such that
$$\frac{p(x)}{1-q(x)}$$
produces a pattern?
The coefficients of $\frac{p(x)}{q(x)}$ are periodic for all choices of $p$ (with degree less than that of $q$) if and only if the roots of $q$ are distinct roots of unity. If $q$ is required to have integer coefficients, then this is true if and only if $q$ is a product of distinct cyclotomic polynomials. This follows from taking the Taylor series expansions of partial fraction decompositions as Calvin Lin notes in the comments.