1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

NFA for this language

  1. Apr 4, 2012 #1
    1. The problem statement, all variables and given/known data

    Hi,

    I need to make an NFA for this language:

    L = {s \in {0, 1, 2}* : the integer value pf s in ternary notation is one less than a multiple of 4}



    2. Relevant equations



    3. The attempt at a solution

    I've written out and looked at the ternary notions for accepting strings, but can't seem to find a pattern. It seems that the last bit is in a cycling of 012 and the second last bit is a cycle of 120, 201, 012.

    Is there a better approach to this?
    Thanks
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted