a-b=\frac{a^n-b^n}{\sum_{k=0}^{n-1}a^kb^{n-k-1}}