(a) Conside f(j)=am+j+(1)jamj,0≤j≤m , where m is a natural number.
We observe that f(0)=2am is divisible by 2am .
Similarly,
f(1)=am+1am1=2am
is also divisible by 2am . Assume that 2am divides f(j) for all 0≤j<l , where l≤m . We prove that 2am divides f(l) . Observe
f(l−1)=am+l−1+(−1)l−1am−l+1 ,
f(l−2)=am+l−2+(−1)l−2am−l+2 .
Thus we have
am+l=2am+l−1+am+l−2
=2f(l1)2(1)l1aml+1+f(l2)(1)l2aml+2
=2f(l1)+f(l2)+(1)l1(aml+22aml+1)
=2f(l1)+f(l2)+(1)l1aml .
This gives
f(l)=2f(l1)+f(l2).
By induction hypothesis 2am divides f(l1) and f(l2).
Hence 2am divides f(l).We conclude that 2am divides f(j) for 0≤j≤m .
(b) We see that f(m)=a2m . Hence 2am divides a2m for all natural numbers m . Let n=2kl for some l≥1 .
Taking m=2k1l , we see that 2am divides an .
Using an easy induction , we conclude that 2kal divides an.
In particular 2k divides an .