Recursionmedium
0:00.0
Let be the number of ternary strings of length using such that no two adjacent digits are equal. What is the closed form of for ?
Let be the number of ternary strings of length using such that no two adjacent digits are equal. What is the closed form of for ?