on-internet
← Community

Turing Machine for {a^i b^j | j is divisible by i, i ≥ 2, j ≥ 2}

Stack Overflow ·

I designed Turing machine that accepts the input over the language: {a^i b^j | j is divisible by i, i ≥ 2, j ≥ 2} This Turing machine should accept and reject the stings as following: aabbbb | Accept bab | Reject aabbbb | Accept aabbbbbbbb | Accept aaaabbbbbbbbb | Reject aaabbbbb | Reject Here is the transition diagram that I draw in JFLAP. After trying so many times, I am still unable to get the desired output:

Comments

Sign in or sign up to comment and upvote.

No comments yet.