Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:01:59+00:00 2026-06-05T21:01:59+00:00

given L={a^n b^n c^n}, how can i say directly without looking at production rules

  • 0

given L={a^n b^n c^n}, how can i say directly without looking at production rules that this language is not regular? i can use pumping lemma but some guys are saying just looking at the grammar that this is not regular one. how is it possible?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:02:00+00:00Added an answer on June 5, 2026 at 9:02 pm

    You have three chars in your alphabet. All of them depends on the same variable: n.
    Now, if you have only two of them, imagine {a^n b^n} you can easily accomplish the task with this production:

    S -> ab | aSb

    But you have three of them and there’s no way to link all of them to the same variable. You should use two syntax category, but since you do it, they are unlinked and you can generate different string from each one of them. The only way to link them is with only one syntax category, and that is impossible.

    You can’t do:

    S -> abc | aSbc

    In fact, you can’t have a syntax category in your final string, so that is not a string. It needs to be transformed again. And what can you do from that point?
    You can do:

    aabcbc

    or you can do:

    aaSbcbc

    The first one is a string, and isn’t part of your language. The second is not a string, yet. But it’s very easy to see that you can’t manage to do any allowed string from that.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across this question: say given two weights 1 and 3, u can
Given a function, let's say atoi, how can I find the header file I
Given doubles can't be used in volatile fields, is this a safe alternative? Or
Given: case class Foo(a: Int, b: String, c: Double) you can say: val params
Say that I have an application where user can upload his avatar, and then
Say that I have a UIView which I would like to re-use in multiple
Let's say I have a Perl class that has a DESTROY method. This method
I'm wondering if the index of an array can be given a name in
Given a date how can I add a number of days to it, but
Given virtual directory and port can you find the actual path of a web

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.