Use 1− x3=(1−x)(1+x+ x2)=(1−x)[(1−x)2+ 3x].
Raising to the tenth power and expanding gives (1− x3)10=(1−x)10∑r=010C(10, r)(3x)r(1−x)20−2r=∑r=010C(10, r)3rxr(1−x)30−2r.
Thus ar=C(10, r)3r. These coefficients are uniquely determined because the rth basis polynomial has lowest power xr with coefficient 1, so successive coefficients can be compared in increasing powers of x.
Therefore 9a10a9=9[C(10, 9)39]/[C(10, 10)310]=9× 310=30.