I have 0 feature :(
Source: 2022 IMOC C5
September 6, 2022
combinatoricsIMOC
Problem Statement
Define a "ternary sequence" is a sequence that every number is or . ternary sequence , define its difference to be A difference will make the length of the sequence decrease by , so we define the "feature value" of a ternary sequence with length is the number left after differences. How many ternary sequences has length and feature value ?Proposed by CSJL