Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2022/ii/paper-2/4i/iii/solution

This language is not regular. If it were regular, its intersection with the regular language would be regular because regular languages are closed under intersection. That intersection is exactly
which part (ii) proved nonregular.

New to topics? Read the docs here!