f(x):=cos(x);

for i: 1 thru 18 step 2 do
    print((taylor(f(x),x,a,i)));