Palindrome arrangement problem

721 Views Asked by At

How many five-letter palindromes are there (using ordinary 26 letter alphabet)?

I was thinking it was either using permutation with first three leters or using 26 cubed.

Thanks

1

There are 1 best solutions below

0
On

So basically you are looking for words of the form $ABCBA$, where $A,B,C$ can be one of the possible $26$ letters. Each of the $A,B,C$ has $26$ possibilities (since there is no restriction on $A,B,C$), so the total number is $26^3$.