jennypreston3935 jennypreston3935
  • 23-03-2020
  • Computers and Technology
contestada

a) Give a recursive definition of the set of nonnegative integers that are multiples of 7. b) Give a recursive definition of the set of bit strings of even length that start with 0.

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 29-03-2020

Answer:

a) Let a be 7.Basic step: a ∈  S and a>=0. Recursive Step: a*7i ∈ S where i<=n, and S is the required set

b) Let λ be the empty string. Basis Step: λ ∈ S. Recursive Step: b ∈ S =⇒ 00b ∈ S & 01b ∈ S, and S is the required set  

Explanation:

Please check the answer section.

Answer Link

Otras preguntas

Pyrenees mountains border Spain and this European country starts with F
How do you think the world was created?
Which statement illustrates the distributive property? Please help
What is the difference between preterite and imperfect and the past progressive and present progressive?
How do you think the world was created?
Pyrenees mountains border Spain and this European country starts with F
Rio grande river separates what Texas city from Mexico starts with E
What is a major city in Alaska that starts with F
How do you tell if an equation is linear or not????
Rio grande river separates what Texas city from Mexico starts with E