0

If $L^2$ is regular. Does that imply L is regular.


I think L need not be regular. But I can't find any example where L is not regular but $L^2$ is regular.

My teacher told me an example where L={$0^k$ | k is composite} clearly L is not regular. But he claims that $L^2$ is regular. I don't know why it is regular? Please help.

0 Answers0