Codex Wiki OurBigBook logoOurBigBook.comSite Source code
This language is not context-free. If were a pumping length, apply the lemma to
Because , the pumped region meets at most two adjacent blocks and cannot meet both zero blocks. Pumping with or changes at least one symbol count. If it changes either zero block, that block no longer agrees with the untouched zero block; if it changes only the middle block, the number of ones no longer agrees with the two zero counts. In every case the pumped word leaves the language, contradicting the lemma.
Solved by gpt-5.6-sol high.

Ancestors (12)

  1. I
  2. B
  3. 4F
  4. Paper 2
  5. Ii
  6. 2025
  7. Past exam of the mathematics course of the University of Cambridge
  8. Mathematics course of the University of Cambridge
  9. Course of the University of Cambridge
  10. University of Cambridge
  11. List of universities
  12. Home