简体   繁体   中英

Is this grammar {a^n b^2n | n >= 0} regular or not?

I don't understand the pumping lemma for this statment, can someone help me?

{a^nb^2n | n >= 0}

This is regular or not? If yes why, if no why?

Thanks to everybody!!

Language is not regular if the value of n is changed the number of states in DFA will also change.In the definition of DFA to accept regular language, the set of states is a finite set. Of course the other way to prove it as non regular ,use pumping lemma for regular languages.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM