Construct a Turing machine that accepts the language of strings of the form an, where n is a composite number. A composite number is any integer n that can be written as a product n = p · q, where p and q are integers with 1 < p, q < n. Specifically for the purpose of this question, 0 and 1 are not considered composite numbers. Your machine can be non-deterministic, and it can use multiple tapes (as many as you need). I suggest breaking up the construction into smaller sub-tasks. For this question, it is enough to give a detailed description of the algorithm of your machine. You do not need to draw a full transition diagram. Although you can draw diagrams for smaller parts if it helps you illustrate your construction.
Construct a Turing machine that accepts the language of strings of the form an, where n is a composite number. A composite number is any integer n that can be written as a product n = p · q, where p and q are integers with 1 < p, q < n. Specifically for the purpose of this question, 0 and 1 are not considered composite numbers.
Your machine can be non-deterministic, and it can use multiple tapes (as many as you need). I suggest breaking up the construction into smaller sub-tasks.
For this question, it is enough to give a detailed description of the
Step by step
Solved in 2 steps