0 votes 0 votes Find a linear bounded automata that accepts the language 1. L={a^(n!) : n>=0} 2. L ={a^n : n is perfect square} Please explain. Theory of Computation theory-of-computation context-sensitive peter-linz peter-linz-edition4 + – Nikita888 asked Nov 16, 2017 • edited Mar 5, 2019 by Naveen Kumar 3 Nikita888 1.6k views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Nikita888 commented Nov 17, 2017 reply Follow Share Thanks for the response @Surajit I am unable to come up with any algorithm. Could u give some hint? 0 votes 0 votes Surajit commented Nov 19, 2017 reply Follow Share for the first one....I think it will be more easy if we use multiple tapes.Start with value one and keep on multiplying with the 'n' value in n!. Store that in a place then decrement n and multiply again and keep on repeating the step.See below for detailed steps.Its bit tedious to form the entire transformations. https://math.stackexchange.com/questions/1153376/construct-a-turing-machine-for-factorialunary 0 votes 0 votes Nikita888 commented Nov 19, 2017 reply Follow Share Thanks a lot. I am now clear about both the problems. It becomes easy by using multiple tapes. The second problem can be solved using the fact that a perfect square number can be obtained by adding odd numbers. For e.g. 4=1+3; 9=1+3+5 and so on. Two tapes can be used to generate perfect square number and that number can be matched with the length of string. 0 votes 0 votes Please log in or register to add a comment.