Deterministic Finite Automaton Problem

Discussion in 'Programming' started by AprendizZ, Dec 5, 2011.

  1. #1
    Hello,
    I need to implement a DFA of binary values who represent numbers divisible by 6 (i.e.: 110, 1000010, 11100100, 100100010010) but this binary value cannot have the serie "101" in any part of the value.
    I'm already create a DFA to "divisible by 6":
    [​IMG]
    and another to detect the serie "101" in the binary number:
    [​IMG]
    My problem that I cannot join together this two DFA in one who implement that I want. Any help?! Thanks!
     
    AprendizZ, Dec 5, 2011 IP