Question: Prove whether or not S is a CFL. S={w {a,b,c}*|#a(w) = #b(w) and #b(w) #c(w)(mod3)} #b(w) #c(w)(mod3) means that #b(w) mod 3 =#c(w) mod 3
Prove whether or not S is a CFL.
S={w
{a,b,c}*|#a(w) = #b(w) and #b(w)
#c(w)(mod3)}
#b(w)
#c(w)(mod3) means that #b(w) mod 3 =#c(w) mod 3
If it is CFL, please draw a PDA for it.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
