Consider the alphabet Σ = {z, y, z). Recall that a strings of length k over Σ can be written as s = $182 Sk where cach s
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Consider the alphabet Σ = {z, y, z). Recall that a strings of length k over Σ can be written as s = $182 Sk where cach s
Consider the alphabet Σ = {z, y, z). Recall that a strings of length k over Σ can be written as s = $182 Sk where cach s; E. Define the set S recursively as follows: (Basis Step) The strings xyz, yzz, zzy are in S. • (Recursive Step) For any w S, the strings ryzw, zywz, xwyz, wryz are all in S. (i) Find all elements in S of length less than or equal to 8. 2 (ii) Prove by structural induction that every element w ES has a length (w) divisible by 3. [Hint: If a number mEN is divisible by 3, then there exists an n N such that m = 3n.]
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!