f (n, m) = f (n-1, m-1) + f (n-1, m-2) + f (n-2, m-1) + f (n-2, m-2) wanted
Source: OLCOMA Costa Rica National Olympiad, Final Round, 2018 Shortlist F2 (F= Functions)
October 1, 2021
functional equationfunctionalalgebraSequencecombinatorics
Problem Statement
Consider the number of finite sequences of 's and 's such that each sequence that starts at , has exactly n 's and 's, and there are not three consecutive 's or three 's. Show that if , then