2011 USAJMO · Question 4
Problem outline
Begin with two one-letter words and . For concatenate and , in that order, to form . Prove that reads identically from left to right and right to left for every .
Show answer and methods 1 methods
Answer
Each prefix product is a palindrome.
Method 1 Identify the alternating two-letter prefixes
Let , with empty. For , let be the two-letter word for even and for odd . We claim . For , this is and .
For , substitute this claim at into the recursion. It gives , proving the claim for both parities.
Now and are palindromes. For , split the same word in two ways. Its definition gives . Combining its last two blocks gives .
Suppose are palindromes. Reversing the first factorisation reverses the block order and replaces by . It therefore gives exactly the second factorisation. Induction proves is unchanged on reversal.
Source and attribution
The outline and worked methods on this page were prepared for DR.WANG Mathematics.
Original question (external)