Paper 1, Section II,
Part II, 2017
(a) Give an encoding to integers of all deterministic finite-state automata (DFAs). [Here the alphabet of each such DFA is always taken from the set , and the states for each such DFA are always taken from the set
(b) Show that the set of codes for which the corresponding DFA accepts a finite language is recursive. Moreover, if the language is finite, show that we can compute its size from .