I am trying to write a Turing machine enumerator that enumerates the language where $w = 0^n1^n$ and $n ≥ 0$.
So for example it should output the following to the first tape:
e
,#,0,1,#,0,0,1,1,#,0,0,0,1,1,1 etc.
Here e
means empty, i.e., to leave that index blank.
I can't figure out how to display this as a Turing machine with states and transitions.