Gerade Zahlen Grammatik
regulärer Ausdruck
V = {S}
[0-9]*[02468]
Σ = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9} S→0 S→2 S→4 S→6 S→8
S → 0S S → 1S S → 2S S → 3S S → 4S S → 5S S → 6S S → 7S S → 8S S → 9S
endlicher Automat 0, 2, 4, 6, 8 1, 3, 5, 7, 9
zE
z0 1, 3, 5, 7, 9
0, 2, 4, 6, 8