Let An=x(xn−1−nan−1)+an(n−1)
For n = 2, A2=x(x−2a)+a2
=x2−2axa2=(x−a)2.
Thus A2 is divisible by (x−a)2.
Now assume that Am is divisible by (x−a)2 for m ≥ 2, that is, assume
Am=x(xm−1−mam−1)+am(m−1)
=(x−a)2 f (x)
so that xm=mxam−1−am(m−1)+(x−a)2f(x)
We then have
Am−1=x[xm−(m+1)am]+am+1m
=x.xm−(m+1)xam+mam,+1
=x[mxam−1−am(m−1)+(x−a)2f(x)]
−(m+1)xam+mam+1 by
=mam−1[(x2−2xa+a2)+x(x−a)2f(x)]
=mam−1((x−a)2+x(x−a)2f(x)
=(x−a)2[mam−1+xf(x)],
After simplification.
This shows that Am+1 is divisible by (x−a)2.
Hence by induction, An is divisible by (x−a)2 for all positive integers n > 1.