Given that
and
We need to determine the value of f(4)
To determine the value of f(4), we need to know the values of the previous terms f(2), f(3).
The value of f(2):
The value of f(2) can be determined by substituting n = 2 in the function
Thus, we get;
Thus, the value of f(2) is 2.
The value of f(3):
The value of f(3) can be determined by substituting n = 3 in the function
Thus, we get;
Thus, the value of f(3) is 1.
The value of f(4):
The value of f(4) can be determined by substituting n = 4 in the function
Thus, we get;
Thus, the value of f(4) is -3.