ternary strings consists of digits: 0, 1, 2. give a recursive definition for the set of ternary strings that are palindromes such that the string consists of an odd number of 1s.