Solve linear recurrence
f(1) = 12, f(2) = 16,
f(n) = 4f(n − 2).
Hint: the solution has integer coefficients, so if you get square roots and/or difficult fractions, it’s likely that you have made a mistake somewhere.
So far i got:
f(n) = x²
f(n) = 4f(n - 2)
x² = 4x^(n-2)
= 4x^(2-2)
= 4
Usually I get an quadratic equation or something with the multiplicity of 2, but I got a single integer, how do I solve this?