It's not true for any
, but it is for
.
Start with
(which is even). Then

The cosine function is
we have

Now,
, so

This is the basis for an argument via induction to show that
whenever
is even. Also, when
is even we have
.
In a similar way, starting with the fact that

and that
is periodic, we have

and so for odd
we have
.