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
mr Goodwill [35]
3 years ago
8

If w is a string of english letters a–z (all uppercase for the purposes of this problem), let wr denote the reverse of w; (train

)r=niart. a palindrome is a string that is its own reversal: w = wr. for example, bzrzb is a palindrome of length 5. we are not concerned with whether it is an actual english word. find a formula for the number of palindromes of length k. you will need to treat odd (k = 2m + 1) and even (k = 2m) lengths differently
Mathematics
1 answer:
Dennis_Churaev [7]3 years ago
5 0

Answer:

f(x)=\left \{\begin{array}{rl}26^{\frac{k}{2}}&\text{for k even}\\26^{\frac{k+1}{2}}&\text{for k odd}\end{array}\right.

Step-by-step explanation:

Half the length of the palindrome can be any possible sequence of the 26 available letters. The other half is constrained to be the reverse of the same sequence. For odd length sequences, the middle letter can be any of the 26.

So, for k even, the number of palindromes is 26^(k/2). For k odd, the number is 26·26^((k-1)/2) = 26^)((k+1)/2).

You might be interested in
Given f(x) = 3x-4 and g(x)= -2x+7 evaluate. PLEASE HELP.
Roman55 [17]

see the attachments below for the steps :)

The simplified expression is as follows:

d(-3x^2 + 9x - 14)

8 0
3 years ago
Read 2 more answers
A bag contains 6 one-dollar coins and 4 two-dollar coins. Three coins are taken at random without replacement.
IgorLugansk [536]
The answer is b why because I had did it on the test and I had got it right HOPEFULLY IT HELPS
3 0
3 years ago
Can someone help me please
lilavasa [31]

Answer:

<h2>=2⁵</h2><h2>it's option B 2⁵</h2><h2>(B) 2⁵ is the right option</h2>

8 0
3 years ago
Is the discriminant positive negative or zero?
vitfil [10]

Answer:

Sorry the picture is blocked on my chromebook but i hope this helps

Step-by-step explanation:

A positive discriminant indicates that the quadratic has two distinct real number solutions. A discriminant of zero indicates that the quadratic has a repeated real number solution. A negative discriminant indicates that neither of the solutions are real numbers.

6 0
4 years ago
What is the solution of the equation 16-17+ Vb=1?<br> b = 3<br> O b = 9<br> O b = 81<br> no solution
statuscvo [17]
B=3 is the correct answer
4 0
3 years ago
Other questions:
  • The bottom of a cylindrical container has an area of 10 cm². The container is filled to a height whose mean is 5 cm, and whose s
    14·1 answer
  • Use the pattern below for questions 6 - 8.
    14·1 answer
  • Anna bought 8 goldfish and 2 rainbow fish for her aquarium. The rainbow fish cost 6 dollars more than the goldfish. She paid a t
    15·1 answer
  • What is the answer to 4|x-1|=12
    10·1 answer
  • Sheila only has $10 to spend on muffins. If muffins are $1.50 each, how many muffins can she
    6·1 answer
  • A basketball player guesses her team will score 57 points during the game. The player's team actually scores 63 points. What is
    15·2 answers
  • 10. A road roller takes 750 revolutions to move once to
    6·1 answer
  • A circular pizza with a diameter of 8 inches. The pizza is in a square box with side lengths of 8 inches. In square inches, how
    8·1 answer
  • Brianna incorrectly said proportion below is 1/12
    6·1 answer
  • By selling a watch for Rs. 150, there would be a loss and there would be a proft if it is sold for Rs. 200. If the loss and the
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!