Guest Session: 1 Question Remaining. Create Account to save progress.
Login
Recursionmedium
0:00.0

Let ana_nan​ be the number of ternary strings of length nnn using {0,1,2}\{0, 1, 2\}{0,1,2} such that no two adjacent digits are equal. What is the closed form of ana_nan​ for n≥1n \geq 1n≥1?