such that is the degree of .
We define that if or , then .
Specifically, let , and , and , and .
Then synthetic division of by can be expressed as , and calculated using the following algorithm:
Arrange the coefficients of by decreasing order in the top row.
Arrange the coefficients of by increasing order in the leftmost column.
Separate the final coefficient with a horizontal line and a "spacer" row.
Fill the empty spaces of the first column (the column corresponding to coefficient ) up to the horizontal line with 's.
Record the sum of the first column (simply ) in the first column of the "spacer" row.
Divide the sum by , and record that value as in the first column of the "quotient" row.
is notated such because by our definition of , it is thus the coefficient of the highest degree term in , since has order .
Place the value of in a diagonal, from the open bottom left position towards the top right, multiplying in each row the value of the coefficient to the value of .
Fill above this diagonal with 's.
Record the sum of the fully populated second column in the "spacer" row (denoted here for convenience)
Divide the sum by , and record that value as in the second column of the "quotient" row.
This index indicates the coefficient of the second highest degree term.
Place the value of in a diagonal, from the open bottom left position towards the top right, multiplying in each row the value of the term to the value of .
Sum the next column, and repeat until the value is calculated and is placed below . Fill the rest of the table with 's, and the sum of each remaining column is the remainder after division, as following the table below:
The algorithm determines that the polynomial can be written , where is the quotient and is the remainder after division of by .
Note we defined that for polynomial coefficient of : if or , then . Depending on the actual values of and , some coefficients in listed in the table may evaluate to .
By definition, is the coefficient of in .
Subject to the constraint "if or , then ",
if , then
since is the coefficient for , is the coefficient for , and their product is the coefficient for . It thus can be linearly combined with the coefficient of in to construct a single monomial of order .
Since ,
since we defined that for polynomial coefficient of : if or , then ,
an equivalent expression for is
with the understanding that some coefficients of will evaluate to .
It suffices to show that the synthetic division algorithm produces coefficients which satisfy this relation, with respect to a chosen and .
The synthetic division algorithm produces quotient coefficients
when , allowing that indices corresponding to non-existent coefficients will evaluate to .
Rewriting for ,
for .
Additionally, the synthetic division algorithm produces remainder coefficients