Long division
The general formula for a long division is
Example 1
We calculate
You can also use a long division
Example 2
We want to calculate
and here you must use a long division, because
Example 3
Now we calculate
and
The 2nd power gives 2 terms, the 3rd power 3 terms, the 4th power 4 terms, the 8th power 8 terms, and so on.
General
The general formula is