Two-Way Counter Machines and Diophantine Equations
- 1 July 1982
- journal article
- Published by Association for Computing Machinery (ACM) in Journal of the ACM
- Vol. 29 (3) , 863-873
- https://doi.org/10.1145/322326.322340
Abstract
Let Q be the class of deterministic two-way one-counter machines accepting only bounded languages. Each machine in Q has the property that in every accepting computation, the counter makes at most a fixed number of reversals. We show that the emptiness problem for Q is decidable. When the counter is unrestricted or when the machine is provided with two reversal-bounded counters, the emptiness problem becomes undecidable. The decidability of the emptiness problem for Q is useful in proving the solvability of some numbertheoretic problems. It can also be used to prove that the language L = {u1iu2i2|i≥0} cannot be accepted by any machine in Q (u1 and u2 are distinct symbols). The proof technique is new in that it does not employ the usual "pumping", "counting", or "diagonal" argument. Note that L can be accepted by a deterministic two-way machine with two counters, each of which makes exactly one reversal.Keywords
This publication has 6 references indexed in Scilit:
- Simple counter machines and number-theoretic problemsJournal of Computer and System Sciences, 1979
- An NP-Complete Number-Theoretic ProblemJournal of the ACM, 1979
- The Diophantine problem for addition and divisibilityTransactions of the American Mathematical Society, 1978
- Reversal-Bounded Multicounter Machines and Their Decision ProblemsJournal of the ACM, 1978
- On Context-Free LanguagesJournal of the ACM, 1966
- Recursive Unsolvability of Post's Problem of "Tag" and other Topics in Theory of Turing MachinesAnnals of Mathematics, 1961