Palindromes Help: Solving 5 & 6 Letter Problems

In summary, the problem is to determine the number of palindromes of five and six letters under different conditions. For part a, there are 26^3 palindromes for both five and six letters, where each letter can appear more than twice. For part b, where no letter can appear more than twice, the number of palindromes is 26*25*24*1*1 for both five and six letters.
  • #1
ashkash
32
0
Here is the problem:

A sequence of letters of the form abcba is an example of a palindrome of five letters.

a. If a letter may appear more than twice, how many palindromes of five letters are there? of six letters?

b. Repeat part a under the condition that no letter appears more than twice.

I do not know how to go about doing this problem. Any help would be appreciated. thanks.
 
Physics news on Phys.org
  • #2
For part a, consider this. For a five letter palindrome, the first letter can be any letter out of 26. Since a letter can appear more than twice, so can the second and third. Does that make sense so far?

How many different letters can the last two be if it is going to be a palindrome? This should give you a good start for this problem. Let me know if you need more help.

stefannm
 
  • #3
If you are constructing a palindrome of, say, 6 letters, once you pick the first 3 letters you have determined the entire palindrome, because this pattern must then repeat in reverse order for the final 3 letters. So for every sequence of 3 letters, there is a corresponding palindrome of 6 letters, and vice versa. How many sequences of 3 letters are there?
 
  • #4
the last two letters have to be the second and first letter. is that a correct assumption? so now how would I put this in a way so that I know how many palindromes of five letters there are? thanks.
 
  • #5
for the number of sequences of 3 letters would it be 26!/3!
 
  • #6
I believe the answer would be [tex]26^3[/tex], but maybe we should get some clarification. Think of it like a tree. There are 26 possibilities each having 26 possibilities. and again, each of those has 26 possibilities. So for the first three letters the possibilites are
[tex]26*26*26[/tex] right?

But the last two letters are decided by the first to so for each of those possibilites only one option can be used, so the final answer should be
[tex]26*26*26*1*1=26^3[/tex]
 
  • #7
that makes sense. and for 6 letters it would be the same as it would be 26*26*26*1*1*1. Is that right?

and for part b, how would I go about that. Would it be 26*26*25*1*1?
 
  • #8
Right, there are the same number of palindromes for 5 and 6 letters given those conditions. Kind of an interesting result. I would not have expected that.

You are close, but remember that each letter can only be used twice. Since it is a palindrome, it has to be used at the beginning and end so the there are only 25 possibilities for the second letter and 24 for the third. Make sense?
 
  • #9
for part b would it be 26*25*24*1*1?
 
  • #10
looks good to me.
 
  • #11
thanks for all your help guys.
 

Related to Palindromes Help: Solving 5 & 6 Letter Problems

1. What are palindromes?

A palindrome is a word, phrase, or sequence that reads the same backward as forward. For example, "mom" and "radar" are both palindromes.

2. How can palindromes help solve 5 & 6 letter problems?

Palindromes can be used to help identify patterns and relationships between letters and words. By recognizing palindromes, scientists can better understand the structure and function of language.

3. Can palindromes be found in other languages?

Yes, palindromes can be found in many different languages. Some notable examples include the Spanish word "reconocer" and the German phrase "Erika feuert nur untreue Fakire."

4. Are there different types of palindromes?

Yes, there are several types of palindromes, including word palindromes, phrase palindromes, and number palindromes. There are also different variations, such as mirror palindromes and semi-palindromes.

5. How can palindromes be used in scientific research?

Palindromes can be used in a variety of ways in scientific research. They can help identify patterns in DNA sequences, analyze linguistic structures, and even assist in cryptography. Additionally, studying palindromes can provide insight into the development and evolution of human language.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
2K
  • Precalculus Mathematics Homework Help
Replies
2
Views
858
  • Calculus and Beyond Homework Help
Replies
2
Views
1K
  • High Energy, Nuclear, Particle Physics
Replies
1
Views
980
  • Calculus and Beyond Homework Help
Replies
6
Views
5K
  • Precalculus Mathematics Homework Help
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
18
Views
2K
  • General Discussion
Replies
7
Views
2K
Replies
1
Views
984
Back
Top