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
Solve the binomial (3x-2)^2​
Thepotemich [5.8K]

Answer:

x=2/3  double zero

Step-by-step explanation:

3 0
2 years ago
Which of the following statements are true about scalar multiplication of matrices?
Greeley [361]

Scalar multiplication of a matrix refers to the multiplication of all the elements of the matrix by an ordinary number which is called a scalar.

From the given options the statements which are true about scalar multiplication of matrices are;

a)       You can multiply a matrix of any size by a scalar.

b)      For any matrix A, 1 × A = A.

c)       Scalar multiplication is a shortcut for repeated addition of the same matrix.

3 0
3 years ago
Read 2 more answers
Solve the equation -3 + 1/2n = 1/2 (-n + 14) in two different ways.
Lemur [1.5K]

Answer:

Step-by-step explanation:

-3 + 1/2n = 1/2 (-n + 14)

distribute

-3 + 1/2n = -1/2n + 7

                 -1/2n

cancel out -1/2n

-3 = n + 7

-10 = n

subtract 7

n =  -10

4 0
2 years ago
What is 4664 ➗ by 94
PilotLPTM [1.2K]
49.617 ( alternative form )
6 0
3 years ago
Zoe payed $18.60 in sales tax and tips for her dinner. The sales tax is 11% and she tipped 20%. What was the price of Zoe's dinn
Mkey [24]

Answer:

56.02 dollars

Step-by-step explanation:

Wanted x, the price before taxes and tip.

sales tax: x * 0.11

+

tip on sales tax: x * 0.11 * 0.2

+

tip on price: x * 0.2

= 0.332x

= 18.6 (presumption)

Therefore,

x = 18.6/0.332 = 56.02

3 0
3 years ago
Read 2 more answers
Other questions:
  • Answer correctly for brainliest and also get a thanks ! Don't answer if you don't know it please !
    14·1 answer
  • Le Ann is purchasing a giftwrap for a box that measures 8 inches long, 6 inches wide, and 6 inches tall. Calculate the total are
    8·1 answer
  • A 12 ounce bag of birdseed costs $3.12. A 16-ounce bag of birdseed costs $3.84. Which is the better deal. How much money per oun
    13·1 answer
  • What dose x represent
    7·2 answers
  • Consider the point P = (3,8) and the line L, given by the equation y = 3x -4.
    5·1 answer
  • Hi please help im honestly so tired and I don't have the time to constantly read this so I can get it
    13·2 answers
  • Which set of numbers below DO NOT make a triangle?<br> 0 7,7,7<br> O 6,3,3<br> 0 3,4,5<br> O 5, 11,7
    11·1 answer
  • What the radius and diameter
    6·2 answers
  • HELPHELPHELPHELPHELP
    11·1 answer
  • Round your answer to two decimal places.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!