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
The equation T^2=A^3 shows the relationship between a planet’s orbital period, T, and the planet’s mean distance from the sun, A
jenyasd209 [6]
T^2 = A^3
T^2 = 2^3
T^2 = 8
Time = sq root (8)
Time = <span> <span> <span> 2.8284271247 </span> </span> </span>





5 0
3 years ago
How do you know what angle degree goes on each corner?
Dahasolnce [82]

Let'sSo, we gave 2 parallel lines and 2 transversals, we have to match the angles.

Let's start with angle b,

\begin{gathered} b+65=180\text{ (angles in a straight line)} \\ b=180-65 \\ b=115^o \end{gathered}

Let's move on to angle e,

\begin{gathered} e=b\text{ (Vertically opposite angles)} \\ \text{but b = 115}^o \\ e=115^o^{} \end{gathered}

Let's move on to angle d,

d=110^o\text{ (V}ertically\text{ opposite angles)}

Moving to angle c, we have;

c=45^o\text{ (Vertically opposite angles)}

And, angle a;

\begin{gathered} a=b\text{ (Alternate angles)} \\ a=115^o \end{gathered}

8 0
1 year ago
it took a submarine 30 seconds to sink 225 feet, moving at a constant speed. The captain wants to know how much feet does he the
icang [17]

Answer:

Dont count me if I'm wrong but if you divide 225 by 30 you get 7.5

So your answer should be 7.5

4 0
3 years ago
Plz help i will mark you branlyest also plz answer both questions
Margaret [11]

Answer:

D(1, -2)

E(3, -4)

4 0
3 years ago
Find the measures of the exterior angle using the degrees of 75 and 50
ivann1987 [24]

Answer:

measure of exterior angle is 125°

Step-by-step explanation:

measure of exterior angle is equal to sum of measures of opposite interior angles,

so,

exterior angle ( e ) = 75° + 50°

=》e = 125°

8 0
3 years ago
Other questions:
  • A blueprint for a house states that a 6 inch line represents 11 feet on the actual home. If the house is to be a
    7·1 answer
  • Please answer correctly
    12·1 answer
  • Find the polar equation of the conic with the focus at the pole, directrix y = -6, and eccentricity 4
    6·1 answer
  • What is the common difference for this arithmetic sequence?
    8·2 answers
  • Write 26 as repeated multiplication?<br>​
    12·1 answer
  • Derrick grows vegetables on a circular patch of land. The radius of the patch is 16 meters. What is the approximate area of the
    5·1 answer
  • What is the domain and range of d(x)=|x|-4
    14·1 answer
  • 5 of 10<br> What is the decimal multiplier to increase by 2.8%
    10·1 answer
  • 2. Using only a straightedge and a compass, construct the image of AEFG after a rotation by 180° about point K shown. Leave all
    13·1 answer
  • A rental car company charges $40 per day to rent a car and $0.08 for every mile driven. Justin wants to rent a car, knowing that
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!