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

The lengths of the legs of a right triangle are 15 cm and 20 cm. What is the length of the hypotenuse?   A.
Which of the following is not capable of reacting with molecular oxygen? A. SO₂ B. SO₃ C. NO D. N₂O E. P₄O₆
how did the Soviet Union's foreign policy goals contradict one another ?
Sophina brought 3 yards of trim to put around a rectangular scarf. She does  not want the scarf to be wider than 12 inches or narrower than 6 inches .Using whol
the product of 16 and 4 less than a number is 208. Find the number.
Which steps can be used to solve for the value of y ? 2\3(y+57)=178
Which three ordered pairs complete the table to give solutions of the equation y = –6x?  A.(–2, 12), (0,0), and (2, –12)  B.(–2, 12), (0,–6), and (2, –12)  C.(–
Which of the following statements about antibodies is false? (A) Antibodies are produced by different combinations of soluble proteins in the blood called compl
What are the solutions to the equation x2 = 81?   A. 40.5 only
how did the Soviet Union's foreign policy goals contradict one another ?