Compute , , , and then state a formula for , when

[Hint: The expression has value if is even and if is odd. This expression can be used in your answer for the last part.]

You can earn partial credit on this problem.