MathDB
Ternary Sequences

Source: 2020 RMM Shortlist C4

October 8, 2022
combinatoricsSequenceRMMRMM 2020RMM Shortlist

Problem Statement

A ternary sequence is one whose terms all lie in the set {0,1,2}\{0, 1, 2\}. Let ww be a length nn ternary sequence (a1,,an)(a_1,\ldots,a_n). Prove that ww can be extended leftwards and rightwards to a length m=6nm=6n ternary sequence (d_1,\ldots,d_m) = (b_1,\ldots,b_p,a_1,\ldots,a_n,c_1,\ldots,c_q),   p,q\geqslant 0,containing no length t>2nt > 2n palindromic subsequence.
(A sequence is called palindromic if it reads the same rightwards and leftwards. A length tt subsequence of (d1,,dm)(d_1,\ldots,d_m) is a sequence of the form (di1,,dit)(d_{i_1},\ldots,d_{i_t}), where 1i1<<itm1\leqslant i_1<\cdots<i_t \leqslant m.)