Let :
$ L = \{ w = \{0,1\}^* | w = 1^k \textrm{ or } w = 0^j {1^k}^2, j >= 1, k>=0 \} $
So i split that language into L1 and L2 languages and treated them separately.The first one $(1^k)$ is for sure regular. Second language is a bit of a problem for me. Let $j,k = p$. So it looks like it : $0^p{1^p}^2$
Word $|w|$ should be longer or equal p so it checked.
Then $|xy| <= p$ and y not equal of empty word. I divided it like that :
$x = 0^a, a>=0$
$y = 0^b, b>=1$
$a+b=p$
$z =0^{p-a-b}{1^p}^2$
And lastly : $xyyz = 0^a0^b0^b0^{p-a-b}{1^p}^2 = 0^{p+b}{1^p}^2$
I feel like this led to me to nowhere, could you enlight me what should I do next?
1^k \textrm{ or } w=to get the text straight and spaced. – Al.G. Oct 25 '24 at 18:56