That is, on input #w#, the machine halts in the configuration #xsy#
where w = xsy, with s in {a, b}, x and y in {a, b}*
|x| = |y| if |w| is odd and |x| = |sy| if |w| is even.
Assume that the input configuration is #w#.
The halting configuration should be #Y# if w = xx, x in {ab} and #N# otherwise.
On input configuration #<n ones>#<m ones>#, the machine halts in the configuration #<q ones># where q is the greatest integer less than n/m if m > 0 or 0 if m = 0.
Last Updated: February 19, 2000 11:10 am by