Exercise ‹27›:

CFG for {w∈{a,b}∗∣2∣w∣a=∣w∣b}\{ w \in \{a,b\}^* \mid 2|w|_a=|w|_b \}
Write a CFG generating the words over {a,b}\{a,b\} such that the number of occurrences of bb is twice the number of occurrences of aa.
Authors: Guillem Godoy / Documentation:
To be able to submit you need to log in, register, or become a guest.