Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- From: "meyousikmann" <meyousikmann@xxxxxxxxx>
- Date: Mon, 22 Jan 2007 22:42:15 -0600
"Patricia Shanahan" <pats@xxxxxxx> wrote in message news:uSfth.13277$pQ3.1627@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
meyousikmann wrote:I am stumped on constructing this DFA. Can anyone offer any pointers?
For the alphabet:
| 0 | | 0 | | 1 | | 1 |
| 0 | | 1 | | 0 | | 1 |
where the strings over this alphabet represent a "top row" and a "bottom row" and each row represents a number in binary starting with the least significant bit.
Design a DFA to recognize the language {w | top(w) mod 3 = bottom(w) mod 3}.
This can be solved with 18 = 3 x 3 x 2 states or 6 = 3 x 2 states but I can't seem to figure it out.
Any help?
Are you aware of the concept of "casting out nines" in decimal arithmetic?
Patricia
I am not.
.
- References:
- DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- From: meyousikmann
- Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- From: Patricia Shanahan
- DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- Prev by Date: Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- Next by Date: Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- Previous by thread: Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- Next by thread: Re: DFA recognizing the language {w | top(w) mod 3 = bottom(w) mod 3}
- Index(es):
Relevant Pages
|