Consider the following expression: $$\frac{x^n}{x^m+k},$$ for non-negative integers $n$ and $m$, $m>n$, and $k\in\mathbb{C}$. For $k=0$ the expression clearly simplifies to $x^{n-m}$. For $|k|>0$ we have the following identity:
$$\frac{x^n}{x^m+k}=\sum_{p=1}^m\frac{c_p^n}{(x-c_p)\prod_{q\neq p}(c_p-c_q)},$$ where the product runs from $q=1$ to $m$ but skips $p$. We define $c_j$ by $$c_j:=\exp\left[\frac{1}{m}(2\pi \text{i} j+\text{i}\text{Arg}(-k)+\log|k|)\right]. $$ How can we prove the identity?
Addendum:
A simpler decomposition is the following, as suggested and proven by achille hui in a comment below: $$\frac{x^n}{x^m+k}=\frac{-1}{mk}\sum_{p=1}^m\frac{c_p^{n+1}}{x-c_p},$$ enjoy!