Paper 3, Section II, F
Part II, 2020
Give the definition of a deterministic finite state automaton and of a regular language.
State and prove the pumping lemma for regular languages.
Let be the subset of consisting of the powers of 2 .
If we write the elements of in base 2 (with no preceding zeros), is a regular language over ?
Now suppose we write the elements of in base 10 (again with no preceding zeros). Show that is not a regular language over . [Hint: Give a proof by contradiction; use the above lemma to obtain a sequence of powers of 2, then consider for and a suitable fixed d.]