There are some errors, the degree of A(k) is at most k. By a program the correct computed polynomials:little joey wrote:If my hand calculations are right, the first four polynomials are:Code: Select all

`A(1) = p A(2) = 2p A(3) = 3p - p^2 +2p^3 - p^4 A(4) = 4p -3p^2 +7p^3 -6p^4 +3p^5 - p^6`

Code: Select all

```
A(1)=p
A(2)=2*p
A(3)=p^3 - p^2 + 3*p
A(4)=-p^4 + 4*p^3 - 3*p^2 + 4*p
A(5)=2*p^5 - 6*p^4 + 10*p^3 - 6*p^2 + 5*p
A(6)=-2*p^6 + 10*p^5 - 18*p^4 + 20*p^3 - 10*p^2 + 6*p
A(7)=2*p^7 - 11*p^6 + 30*p^5 - 41*p^4 + 35*p^3 - 15*p^2 + 7*p
A(8)=-p^8 + 10*p^7 - 36*p^6 + 72*p^5 - 80*p^4 + 56*p^3 - 21*p^2 + 8*p
A(9)=p^9 - 7*p^8 + 36*p^7 - 96*p^6 + 151*p^5 - 141*p^4 + 84*p^3 - 28*p^2 + 9*p
A(10)=-2*p^10 + 10*p^9 - 36*p^8 + 112*p^7 - 225*p^6 + 288*p^5 - 231*p^4 + 120*p^3 - 36*p^2 + 10*p
```