Let f(n) denote the number of ternary strings(0, 1, 2) with no two consecutive nonzero digits. For example, 0102 is valid but 0120 and 1102 are not. Use Strong Induction to show that for all $$n \geq 1$$
$$f(n) = \frac{4 \cdot 2^n-(-1)^n}{3}$$
Start by finding a recursive formula. What are your bases cases, how many do you need?
My solution (Is this strong induction?; How can I solve this with strong induction? Any hint or solution?).
For base cases, (I counted 0, 1, 00, 11,.. so on) $$f(1) = 5; f(2) = 8;$$
$$f(n+1) = \frac{4 \cdot 2^{n+1}-(-1)^{n+1}}{3}$$ $$= \frac{4 \cdot 2 \cdot 2^n -(-1)(-1)^n}{3}$$ $$= \frac{4 \cdot (3-1) \cdot 2^n -(-1)(-1)^n}{3}$$ $$= \frac{12 \cdot 2^n - 4 \cdot 2^n + (-1)^n}{3}$$ $$= 4 \cdot 2^n - f(n)$$
f(n+1) is true. QED.
You say you found the recursion $f_n=f_{n-1}+2f_{n-2}$, given the story. Your solution of the problem then should include (i) a proof of this recursion, (ii) a proof that the suggested $f$ satisfies this recursion, and (iii) a proof that the suggested $f$ gives the correct values for $n=1$ and $n=2$.