Question
8. A palindrome is a string of characters that reads the same forward and backward, such as BoB or d1N1d. Leave formula written out (a)
8. A palindrome is a string of characters that reads the same forward and backward, such as "BoB" or "d1N1d". Leave formula written out
(a) There are 238,328 different 5-character words (using capitals, lower-case letters, and/or digits 0 - 9) that are palindromes. Show how to get this number. Include a formula and briefly explain how you counted.
(b) How many 6-character words are palindromes (using capitals, lower-case letters, and/or digits 0 - 9)? Include a formula and briefly explain how you counted.
(c) There are 3844 5-character palindromes that begin with "A". There are also 3844 5-letter palindromes that begin with "B". How many 5-character palindromes begin with "A" or "B"? Show how to use the given information - do not create a formula.
(d) There are 3844 5-character palindromes that begin with "X" (and the second letter is anything). There are also 3844 5-letter palindromes whose second letter is "Y" (and the first letter is anything). How many 5-character palindromes begin with "X" or have second letter "Y", or both? Answer using the Principle of Inclusion and Exclusion.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started