These strings are the even-length palindromes . Suppose this were a regular language, and let be its length from the pumping lemma for regular languages. The string
belongs to the formal language, with . In any allowed decomposition , where and , the pumped block is with . Pumping it away gives
This is not a palindrome: its initial and final runs of zeros have different lengths. Hence it cannot have the form , contradicting the pumping lemma for regular languages. Therefore

Articles by others on the same topic (0)

There are currently no matching articles.