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
Problem #2
marta [7]

Fractions can be converted to decimals and vice versa.

<em>The decimal equivalent  of the fraction of months with 31 days is 0.583</em>

Given:

<em />Total = 12<em> --- months in a year</em>

<em />Months = 7<em> --- months with 31 days</em>

<em />

The fraction (n) of months with 31 days is:

n = \frac{Months}{Total}

So, we have:

n = \frac{7}{12}

The decimal equivalent is:

n = 0.583

Hence, (c) is correct.

Read more about fractions and decimals at:

brainly.com/question/548650

6 0
3 years ago
3 hundred thousand 3 thousand 8 hundred 4 tens
alekssr [168]

Answer:

3384

Step-by-step explanation:

3 0
3 years ago
The length of a rectangle is 12 units longer than the width. The perimeter is 7 times the width. Find the length and the width o
katen-ka-za [31]

Log explanation below; answer is at bottom.

If the length, l, is 12 units longer than the width, w, then w = l - 12. If the perimeter, p,

p = 2l +2w,

is 7 x w, then

w = p/7

When two things are set equal to the same variable, they are equal to each other, so,

l - 12 = p/7

Now you need to get rid of the p so you are only working with one variable. To do this you plug in whatever p is equal to for p, so,

l - 12 = (2l + 2w)/7 now to get rid of the w do the same thing we did with p just for w. So,

l - 12 = (2l + 2(l - 12))/7

To solve this you want to multiply both sides by 7 first to get rid of the fraction.

7l - 84 = 2l + 2(l - 12)

Next you want to distribute the 2 over the l and the 12.

7l - 84 = 2l + 2l - 24

Next you want to combine like terms on each side.

7l - 84 = 4l - 24

Next add 84 and subtract 4l from sides to isolate the variable.

3l = 60

Now divide each side by 11 to get your answer.

l = 20.

To find the width,

w = l - 12  

Just plug in and solve.

w = 20 - 12

w = 8

So your length and width are 20 and 8.

l = 20

w = 8

7 0
3 years ago
This week, Jamyra spent a total of 100 minutes studying. This total was 8 more than four
Harrizon [31]

Answer:

Jamyra spent 23 minutes studying last week.

Step-by-step explanation:

100 - 8 = 92

92 ÷ 4 = 23.

7 0
3 years ago
A bag of marbles has 5 red, 2 blue, and 3 green marbles. A marble is randomly selected. What is the probability AS A DECIMAL tha
loris [4]

Answer:

0.25 Hope this helps :)

Step-by-step explanation:

You add the 5 red and 3 green

8 Mables besides blue

so that's 2/8

simplified 1/4

1/4=0.25

8 0
3 years ago
Other questions:
  • What are the solutions to the quadratic equation 3(x − 4)^2 = 75?
    7·1 answer
  • (2.5)<br> (1,1)<br> Write a rule for the linear function shown in the graph
    10·1 answer
  • Aisha is a sales clerk at Macy's. She is paid $8.00 per hour plus a commission of 4% on all sales. Assuming Aisha works 39 hours
    14·1 answer
  • Which would be the BEST title for this picture? A) "Electing the First President" B) "Approving the Louisiana Purchase" C) "Writ
    9·1 answer
  • What is 3/8 + 1 1/4 equal to?​
    8·2 answers
  • Graph the function. Give domain and range in interval form.
    9·1 answer
  • Help! I don't know how to do this! I will mark Brainliest!
    14·2 answers
  • Jared writes a multiplication expression with eight rational factors. Half of the factors are positive and half are negative. Is
    7·1 answer
  • Harry took a loan from the bank.
    9·1 answer
  • The 347 students total who listed soccer as their favorite sport were 13 less then three times the number of students (y) who li
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!