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
An election is over and a new city council member has been elected. The new councilman received 3 votes for every vote received
damaskus [11]

Answer:

921

Step-by-step explanation:

If he recives 3x amount than his oppenent

than we would divided by 3 from his score to find oppponets score

so....

2763 divided by 3=921

4 0
2 years ago
Tucson , Arizona is about 75 miles south and 70 miles east of phoenix. What is the distance from Phoenix to Tucson?
asambeis [7]
I think you add both of them together and you get 145
8 0
3 years ago
Tickets for a game Cost $2 for students and $5 for adults. The number of students was 3 less than 10 times the number of adults.
Elina [12.6K]

Question

Tickets for a game Cost $2 for students and $5 for adults. The number of students was 3 less than 10 times the number of adults. The total amount of money from ticket sales was $619. How many of each tickets were sold?

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Evaluate -(3^-5)(3^3)<br> A. -9<br> B. 9<br> C. 1/9<br> D. -1/9
umka21 [38]

Answer:

D:= -1/9

Step-by-step explanation:

6 0
3 years ago
Pedro bought four packs of pencils for $19.96 how much did each pack cost
denpristay [2]

Each pack would cost $4.99

6 0
3 years ago
Other questions:
  • Solve for x: -3 + x = -22
    12·1 answer
  • Two Angles of a Triangle 53 and 68.What is the Measure of the Third angle?
    10·1 answer
  • Pls help its due in half an hour
    10·2 answers
  • PLEASE HELP!!!<br> ITS DUE TODAY
    9·1 answer
  • What is -5x + 3y= 12 in slope intercept form?
    9·1 answer
  • Jiao is a chinese student visiting family in the united states. she spent $79 on dinner for her family one evening. if the excha
    12·1 answer
  • Ab" that goes through points (0,9)<br> Write an exponential function in the form y<br> and (5,2187)
    12·1 answer
  • A company produces fruity drinks that contain a percentage of real fruit juice. Drink
    12·1 answer
  • A sphere is not a polyhedron true or false?
    7·1 answer
  • The function f(x), shown in the graph, represents an exponential growth function. Compare the average rate of change of
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!