\displaystyle x-y=\frac{x^k-y^k}{\sum_{i=0}^{k-1}x^{k-1-i}y^i}