Find the formula for .

Hint: You may write the function as where , , , and , are integers.