(a^ 2n - a ^n - 6) divided by (a ^n + 8)