Let L = {w ϵ {a, b}* : |w| ≡3 0}. List the first six elements in a lexicographic enumeration of L.
i have this so far {epsilon, aaa,aab,abb,bbb,bba,baa}
There are seven elements there, which do i eliminate
what does this mean? all possible triples containing \(a\) and \(b\) ?
such that the lenth of the word mod 3 is zero
i think?
i have never seen this notation why would there only be triples? if the length was 27 it would still be 0 mod 3
yes, exactly
oh it says "the first six" how are they to be ordered?
so the length of all words in the language would be a multiple of three?
i have no i idea it says "the first six" which leads me to believe they have a method of enumerating them
i'm not sure of the order, but the way i have it enumerated would be the most logical?
the word with no letters aaa aab aba baa abb bab bba bbb etc etc
thanks satellite, i'll go with that
Join our real-time social learning platform and learn together with your friends!