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 the 5th term is 103 and the come differences is -6 2/3 what is the 6th term?
LekaFEV [45]

Answer:

  102 1/3

Step-by-step explanation:

To find the 6th term, add the common difference to the 5th term:

  103 + (-6 2/3) = 102 1/3

6 0
3 years ago
Giving out Brainlist! Diego is building a kitchen table and a coffee table. The legs of a kitchen table must be twice the height
Ulleksa [173]

Diego is building a kitchen table and a coffee table. The legs of a kitchen table must be twice the height of a coffee table and there are 4 legs on each table. He writes the expression 4(2x) + 4(x) to model his building plans. What does 2x represent?

2x represents the height of one kitchen table leg. 2x represents the total height of all four kitchen table legs. 2x represents the height of one coffee table leg.<span> 2x represents the total height of all four coffee table legs.</span>
8 0
3 years ago
Plsss help!! is this a right triangle if no or yes please explain why??
Mama L [17]

Answer:

yes, it is a right triangle

Step-by-step explanation:

the other two angles are 35 and 55 degrees

4 0
3 years ago
Read 2 more answers
What is the first step to Solving Word Problems?
asambeis [7]
The first step in solving any word problem is to read the problem carefully.

Steps would be as follows:
1- Read the problem carefully
2- Identify what you are trying to find
3- Make a plan
4- Solve the problem
5- Check that your answer makes sense
8 0
3 years ago
3x^2/3 - 2x^1/3 - 1 = 0
ch4aika [34]

Answer: in algebra if something = 0 thin it is 1

Step-by-step explanation: please mark brainlyest

4 0
2 years ago
Read 2 more answers
Other questions:
  • A recipe for 24 cookies requires 1 12 cups of sugar. If Ben wants to make 36 cookies, how much sugar does he need?
    9·2 answers
  • Yung is designing a flashlight that uses a parabolic reflecting mirror and a light source. The shape of the mirror can be modele
    7·2 answers
  • Keisha makes a large sandwich for a family picnic. She takes 1/2 of the sandwich to the picnic. At the picnic, her family eats 3
    8·1 answer
  • 4. Mr. Ledic works in a coffee shop approximately nine miles from her apartment. She
    6·1 answer
  • Find the number that makes the statement 12/18 = ?/9
    15·2 answers
  • Alex has a truck. 42% of the miles he drove last month were for work. If Alex drove 588 miles for work, how many miles did he dr
    11·1 answer
  • 2 1/3 divided by 3/4
    9·2 answers
  • Timmy is building a new website. Right after he starts, he has 2 visitors. He expects his visitors to increase according to a mo
    15·1 answer
  • What is the solution to the equation? 36x-20=160
    12·2 answers
  • Can anyone tell me how you could describe this answer to the equation?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!