879 views
2 votes
2 votes
Design Turing machines to compute the following functions for $x$ and $y$ positive integers represented in unary

                                                                  $f(x) =\frac{x}{2},$           if $x$ is even,

                                                                            $ = \frac{x+1}{2},$       if $x$ is odd.

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
2
0 votes
0 votes
0 answers
3