retagged by
2,272 views
0 votes
0 votes
how to construct pda for a^i b^j where j!=2i+1, i>=0 ?

i have constructed for j=2i+1 but by complementing the states do we get actual n pda of our requirement?

whether it is decidable?
retagged by

2 Answers

0 votes
0 votes
Construct for j>2i+1 and j<2i+1 then take the union of these two pda that will be j!=2i+1.

Related questions

0 votes
0 votes
1 answer
3
0 votes
0 votes
2 answers
4
iarnav asked Sep 15, 2017
984 views
$L=\{a^nb^n\mid n≥0\}$ Kindly draw a PDA for this, I'm confused, how to deal with epsilon string?