Describe a Turing Machine that accepts the language of all non-negative decimal integers that are multiples of 3.

1.7k Views Asked by At

I have exam coming up and I need help with this:

Describe a Turing Machine that accepts the language of all non-negative decimal integers that are multiples of 3

Thank you :)

1

There are 1 best solutions below

0
On

HINTS:

  1. See the suggestion made in the comments by Thomas and Tara. If you’re not familiar with divisibility tests, see here; this is useful general information.

  2. This language is regular: it can be recognized by a finite state automaton. Try designing that first and then converting it to a Turing machine.