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
masha68 [24]
4 years ago
13

A palindrome is a string whose reversal is identical to the string. How many bit strings of length n are palindromes?

Mathematics
1 answer:
alisha [4.7K]4 years ago
4 0

Answer:

The number of  palindromes is  

      2^{\frac{n}{2} } when n is even and

      2^{\frac{n +1}{2}  } when n is odd

Step-by-step explanation:

From the question we are told that

    The  length of the string is  n

Generally palindrome is evaluated by considering the first part of a string

  When the the length of the string is an even number then

it means that the first part of the string is \frac{n}{2}

Hence the number of  bit strings of length n that are  palindromes is evaluated as

       p(n_{even }) =  2^{\frac{n}{2} }

But When the the length of the string is an odd number then

it means that the first part of the string is \frac{n-1}{2}

Hence the number of  bit strings of length n that are  palindromes is evaluated as

       p(n_{odd }) =2^{\frac{n -1}{2} +1 } = 2^{\frac{n +1}{2}  }

Generally each bit could be either 0 or  1

Hence the number of  palindromes is  

      2^{\frac{n}{2} } when n is even and

      2^{\frac{n +1}{2}  }  when n is odd

           

You might be interested in
MARK AS BRAINLIEST IF CORRECT HELP PLZZZ‼️‼️‼️‼️‼️
egoroff_w [7]

Answer:

Average rate of change is -1.25

Step-by-step explanation:

7 0
3 years ago
Write the fraction as an 1/15 equivalent fraction with a denominator of 45.​
Readme [11.4K]

9514 1404 393

Answer:

  3/45

Step-by-step explanation:

To find the numerator, multiply the desired denominator by the fraction.

  x/45 = 1/15

  x = (45)(1/15) = 45/15 = 3

The equivalent fraction is 3/45.

5 0
3 years ago
Which transformation maps the large triangle onto the small triangle? dilation reflection rotation translation
sweet [91]

A rotation transformation is where you turn a figure about a given point. The point about which the object is rotated can be inside the figure or anywhere outside it. There must be no change in shape or size of the object.

A reflection of an object is the 'flip' of that object over a line, called the line of reflection.

A translation is a term used in geometry to describe a function that moves an object a certain distance. The object is not altered in any other way. It is not rotated, reflected or re-sized.

All these three transformations are rigid - preserve the figure sizes.

A dilation is a transformation that changes the size of a figure. It can become larger or smaller, but the shape of the figure does not change.

Answer: dilation maps the large triangle onto the small triangle

7 0
4 years ago
Read 2 more answers
Maria is ordering copy paper for her office. The office is low on white paper and on blue paper. She will pay $3.50 per ream of
Stells [14]
6 reams of white paper and 4 reams of blue paper
6 0
3 years ago
In his first five basketball games, Neal scored 10, 11, 11, 12, and 16 points. What is the mean absolute deviation for this set
Mila [183]
The answer would be 12, because you just add all the numbers and divide the sum by 5
5 0
4 years ago
Read 2 more answers
Other questions:
  • Find the equation of the line through (2, 3, 0) perpendicular to the vectors a = (1, 2, 3) and b = (3, 4, 5).
    7·1 answer
  • What is the slope of (-2,5) and (2,0)
    5·2 answers
  • Solve each given equation and show your work. Tell whether each equation has one solution, an infinite number of solutions, or n
    10·1 answer
  • Tihn can row at a rate of 6 mph in still water, it takes her 2 hours to row upstream from a dock to a park. She then rows back t
    15·1 answer
  • Someone please help me with this.
    13·1 answer
  • Im home schooled and i need help so what is <br><br> 6,341 times 2
    6·2 answers
  • A line passes through the origin and has a slope of 4. What is the equation of the line that is parallel to the first line and p
    9·1 answer
  • Put these fraction in order of size smallest to largest : 7/10, 2/3, 4/5, 11/15
    5·2 answers
  • In circle S with mRST = 68, find the mRUT.
    5·1 answer
  • Help please asap just the answers​
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!