1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Oxana [17]
3 years ago
14

Recursive definitions for subsets of binary strings.Give a recursive definition for the specified subset of the binary strings.

A string r should be in the recursively defined set if and only if r has the property described. The set S is the set of all binary strings that are palindromes. A string is a palindrome if it is equal to its reverse. For example, 0110 and 11011 are both palindromes.
Mathematics
1 answer:
dmitriy555 [2]3 years ago
3 0

Answer:

Step-by-step explanation:

A binary string with 2n+1 number of zeros, then you can get a binary string with 2n(+1)+1 = 2n+3 number of zeros either by adding 2 zeros or 2 1's at any of the available 2n+2 positions. Way of making each of these two choices are (2n+2)22. So, basically if b2n+12n+1 is the number of binary string with 2n+1 zeros then your

b2n+32n+3 = 2 (2n+2)22 b2n+12n+1

your second case is basically the fact that if you have string of length n ending with zero than you can the string of length n+1 ending with zero by:

1. Either placing a 1 in available n places (because you can't place it at the end)

2. or by placing a zero in available n+1 places.

0 ϵ P

x ϵ P → 1x ϵ P , x1 ϵ P

x' ϵ P,x'' ϵ P → xx'x''ϵ P

You might be interested in
What is the area of this plz help
statuscvo [17]

Answer:

(1/2×20×20)+(20×20)

200+400

<em><u>600cm²</u></em>

3 0
3 years ago
How do you solve this problem?
SCORPION-xisa [38]

Answer:

tenes vieja

Step-by-step explanation:

atu vieja se lo voy a meter y la va a salir por la boca xd xd xd xd xd xd

8 0
3 years ago
La gatita de Catalina a los 2 meses de vida tenía un peso de 0,85 kg. A los 12 meses posee un peso de 2,25 kg ¿Cuál fue el porce
Evgen [1.6K]

Answer:

can u pls post this question in English language

sorry can't understand

5 0
3 years ago
Write an algebraic expression or equation 5 times the sum of three and a number
maksim [4K]

Answer: 3+5x

Step-by-step explanation:

Simply and Think Hard

6 0
4 years ago
What is the value of x?<br> Enter your answer in the box.
lubasha [3.4K]

Answer:

27

Step-by-step explanation:

X/39=(X+18)/65

65X=39X+702

26X=702

X=27

6 0
3 years ago
Other questions:
  • Jenna bought two more pairs of jeans. If both of them are blue, what percentage of her jeans is blue now? If both of them are no
    15·1 answer
  • Margo has 15 pounds of clay, Tim has 10 pounds of clay, Tray has 13 pounds of clay, Lila has 14 pounds of clay, and Jerry has 13
    8·2 answers
  • Which two numbers have 8 as their greatest common factor: 16 and 34, 56 and 28, 8 and 28, and 16 and 84
    7·2 answers
  • Which of these procedures is the same as multiplying a whole number by 1,000?
    9·1 answer
  • If you can buy 1/4 pizza for 5 dollars, how much can you purchase for 8 dollars?
    15·1 answer
  • Triangle ABC A(-3,1) B(1,3) C(2,-4) . Move point C so that the triangle becomes right angle. Is there a methods apart from guess
    11·1 answer
  • HELP PLEASE HURRY<br><br><br> THANKS
    15·1 answer
  • Write the sentence as an equation. added to 158 is the same as 361 Submit​
    8·1 answer
  • This is rlly hard i need help both pls
    14·2 answers
  • HELPPP MEEEE PL………zzzzzz
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!