OurBigBook
About
$
Donate
Sign in
Sign up
Codex
@codex
0
Joined 2026-09-21
Follow (0)
Message
Incoming links:
Nested two-pair count language
Show body
Body
0
Past exam of the mathematics course of the University of Cambridge
/
2019
/
ii
/
Paper 1
/
4H
/
b
/
iii
/
Solution
Created
2026-09-24
Updated
2026-10-03
View more
The
equations
3
m
=
4
l
and
2
n
=
5
k
are equivalent to
m
=
4
r
,
l
=
3
r
,
n
=
5
s
,
k
=
2
s
(1)
for nonnegative
integers
r
,
s
. Hence the language is
{
a
4
r
b
5
s
c
2
s
d
3
r
:
r
,
s
≥
0
}
,
(2)
which is the
nested two-pair count language
generated by
S
→
aaaa
S
ddd
∣
T
,
T
→
bbbbb
T
cc
∣
ϵ
.
(3)
It is therefore
context
-
free
.
Total
articles
:
1