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
Help me on question 5A
artcher [175]

Answer:

A

Step-by-step explanation:

because youre doing more bushels its adding and youd be solving for d

4 0
3 years ago
Read 2 more answers
HELP HELP HELP HELP <br><br> What is the equation of the trend line in the scatter plot ?
Ilia_Sergeevich [38]

Answer:

the answer is (0,2) (7,8)

7 0
3 years ago
Write out the first four terms of the maclaurin series of f(x) if f(0)=−5,f′(0)=8,f′′(0)=−9,f′′′(0)=5
mojhsa [17]
3 + 3x + 2<span>x^2 </span>+ <span><span>x^2/</span>2 
</span>Hope this helps :3
6 0
4 years ago
Find the ordered pairs for the x- and y-intercepts of the equation 2x − 6y = 24 and select the appropriate option below: A) The
Lubov Fominskaja [6]
The x-intercept is found when y=0, and the y-intercept is found when x=0.  If y=0, then we have:

2x=24

x=12

Therefore, the x-intercept is 12, so the full coordinates are (12, 0).  Note that the only option with this x-intercept is C, so C is the correct answer.

You can find the y-intercept similarly.  If x is zero, then:

-6y=24

y=-4

Therefore, (0, -4) is the y-intercept.  This is also part of option C.
7 0
4 years ago
Describe dimension of two different prisms that each have a volume of 2400 cubic
mihalych1998 [28]
So look:

1) 20 cm by 20 cm by 6 cm
2) 40 cm by 30 cm by 2 cm

Hope this helps!
6 0
4 years ago
Read 2 more answers
Other questions:
  • There are 450 seats in the lower level of a concert hall with b balcony seats in the upper level. So far, 170 tickets have been
    11·1 answer
  • Any clue on how to do this?
    8·1 answer
  • I need to know the answer as soon as possible.
    8·2 answers
  • The bearing of Q from P is 150° and the bearing of P from R is 15°.if Q and R are 244metres and 324metres respectively from P.(i
    11·1 answer
  • What is the scale factor of the dilation?
    14·2 answers
  • What is the product of (2x – 5)(2x + 5)?
    10·2 answers
  • Clouds are formed when millions of drops of water become suspended in the air. Which of the following is a step in the process o
    9·1 answer
  • Beth has to carry 9 grocery bags into the house. each grocery bag weighs 5 6/10 pounds. how many pounds does beth carry in all?
    5·1 answer
  • I need help math work (geometry) :P​
    7·1 answer
  • Which is an example of a statistical question? Questions Question 1 How many pets does Alisha have at home? Question 2 How old w
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!