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]
2 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]2 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
Please Please help!​
Mice21 [21]

Answer:

Step-by-step explanation:

x²+3x+2=0

x²+x+2x+2=0

x(x+1)+2(x+1)=0

(x+1)(x+2)=0

x=-1,x=-2

so B

6 0
2 years ago
If 28% of a sum is 100.80 what is the sum
Sveta_85 [38]
$360.00*.28= 100.80 

<span>Or do a portion  </span>

<span>28%/100%=100.8/x </span>

<span>Then cross multiply </span>

<span>10080=28x </span>

<span>x=360</span>
4 0
3 years ago
What are two equivalent forms for the polynomial 3x - 2x -2x? How do you get them?
Lynna [10]
Simplify 3x -2x -2x = 3x + -2x + -2x  
Combine like terms: 3x + -2x + -2x = (3x + -2x +-2x) = -x 
answer is: -x
5 0
3 years ago
QUESTÃO DE PL (PROGRAMAÇÃO LINEAR):
ra1l [238]

Essa pergunta nao esta em forma ingles, então pessoas nao vao entender.

3 0
3 years ago
The point (5, 3) is represented on the graph. Which point also belongs on this graph?
kirill [66]
Do you have a picture of the graph,  I cant help u with out it. :)
8 0
3 years ago
Read 2 more answers
Other questions:
  • Carl is boarding a plane. He has 2kg checked bags of equal weight and a backpack that weighs 4kg. The total weight of Carl's bag
    9·1 answer
  • A sphere is partially filled with air. If the volume of the sphere is increasing at a rate of 548 cubic feet per second, what is
    13·1 answer
  • How do I substitute this?
    12·1 answer
  • Zack says that the probability of rolling a number less than 4 on a six-sided number cube is 4/6. Valeria says that the probabil
    7·1 answer
  • What is -7/2(-7/2x+1)=413/8
    8·2 answers
  • Hi i need help on this one asap tyyysm
    12·1 answer
  • Haley's car gets at least 18 miles per gallon. She is planning a trip that is 200 miles.
    5·2 answers
  • Which angle has the greatest measure?
    13·2 answers
  • Someone know this? 50 pts
    12·2 answers
  • Need answer asap! Which set of points would result in a slope of 1/4?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!