Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4. Consider the following recursive definition: Basis: 0,1,2,7,9 s Recursive step: If Ox e S, then 10x e S, 20% e S, and 70x e

image text in transcribed

4. Consider the following recursive definition: Basis: 0,1,2,7,9 s Recursive step: If Ox e S, then 10x e S, 20% e S, and 70x e S. If lx e S, then 01x ES, 21x e S, and 71x e S. If 7x e S, then 07x e S, 17x e S, and 27x e S. a. What is the smallest possible alphabet for S? (3 points) b. What is the maximum number of 2 symbols that a string in S can have? (3 points) c. If a string in S contains a 2 symbol, where will that 2 symbol be located in the string? (3 points) d. Why is it impossible for the string 110 to belong to S? (3 points) e. Show that 2017 e S. (10 points) 5. Consider the recursive definition of the natural numbers as discussed in class. a. Basis: 0 EN b. Recursive step: if n e N, then s(n) EN Give a recursive definition of D, the set of natural numbers that are divisible by 2 and divisible by 3. You must use successor notation properly instead of addition throughout the definition. (15 points) 6. Define T* properly using mathematical notation (i.e., with union, set concatenation, other known sets, etc.). (4 points) 4. Consider the following recursive definition: Basis: 0,1,2,7,9 s Recursive step: If Ox e S, then 10x e S, 20% e S, and 70x e S. If lx e S, then 01x ES, 21x e S, and 71x e S. If 7x e S, then 07x e S, 17x e S, and 27x e S. a. What is the smallest possible alphabet for S? (3 points) b. What is the maximum number of 2 symbols that a string in S can have? (3 points) c. If a string in S contains a 2 symbol, where will that 2 symbol be located in the string? (3 points) d. Why is it impossible for the string 110 to belong to S? (3 points) e. Show that 2017 e S. (10 points) 5. Consider the recursive definition of the natural numbers as discussed in class. a. Basis: 0 EN b. Recursive step: if n e N, then s(n) EN Give a recursive definition of D, the set of natural numbers that are divisible by 2 and divisible by 3. You must use successor notation properly instead of addition throughout the definition. (15 points) 6. Define T* properly using mathematical notation (i.e., with union, set concatenation, other known sets, etc.). (4 points)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

Here is some ciphertext that was produced with a Vigen re cipher

Answered: 1 week ago

Question

=+4. What information remains to be obtained?

Answered: 1 week ago