Problems(1)
Define a "ternary sequence" is a sequence that every number is 0,1 or 2. ternary sequence (x1,x2,x3,⋯,xn), define its difference to be (∣x1−x2∣,∣x2−x3∣,⋯,∣xn−1−xn∣) A difference will make the length of the sequence decrease by 1, so we define the "feature value" of a ternary sequence with length n is the number left after n−1 differences. How many ternary sequences has length 2023 and feature value 0?Proposed by CSJL combinatoricsIMOC