xn1xn
xn1xn denotes the language of strings over the alphabet {x, 1} consisting of n copies of x, followed by a single 1, followed by n copies of x, for n ≥ 0. In formal notation, L = { x^n 1 x^n | n ≥ 0 }. The strings thus have the form x^n 1 x^n and are palindromic around the central symbol 1, with the central 1 serving as a delimiter between the two identical halves.
Properties and recognition: The language is context-free but not regular. It can be accepted by a deterministic
Examples: For n = 0, the string is 1. For n = 1, it is x1x. For n = 2,
Variants and related concepts: Variations include replacing x with other alphabet symbols, or allowing a broader