Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not exactly sure how to go about this.


share|cite|improve this question
Is this maybe a StackOverflow question? Please show what you need it for, and what you have tried so far. – Hidde Feb 20 '12 at 20:58
No, this wouldn't be a StackOverflow question. I just need to show the expression which expresses the alphabet $(a, b, c)$ using the language I have mentioned above. I'm not sure how to do this, but i have done something like $(a|b|c|aaa|bbb|ccc)$ and so on, including every odd charactered combination. – AkshaiShah Feb 20 '12 at 21:01
up vote 4 down vote accepted


What language does $(aa)^*$ represent over the alphabet $\{a\}$?

share|cite|improve this answer
So would it be $a^*|b^*|c^*$? – AkshaiShah Feb 20 '12 at 21:03
What you have mentioned represents the language of all words that have even length. – AkshaiShah Feb 20 '12 at 21:04
@akshai5050: No, $a*|b*|c*$ is not correct. You can verify it yourself, by trying out some sample strings. Yes to the second comment. – Aryabhata Feb 20 '12 at 21:07
Yes, I now realise what I said wouldn't be correct, as even lettered words would also be accepted by the expression. So, would it then be $a(aa)^*|b(bb)^*|c(cc)^*$? – AkshaiShah Feb 20 '12 at 21:10
@akshai5050: What about words like $abc$? You miss those, don't you? – Aryabhata Feb 20 '12 at 21:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.