MathDB
2019 BMT Individual 9

Source:

January 9, 2022
combinatorics

Problem Statement

Define an almost-palindrome as a string of letters that is not a palindrome but can become a palindrome if one of its letters is changed. For example, TRUSTTRUST is an almost-palindrome because the RR can be changed to an SS to produce a palindrome, but TRIVIALTRIVIAL is not an almost-palindrome because it cannot be changed into a palindrome by swapping out only one letter (both the AA and the LL are out of place). How many almost-palindromes contain fewer than 44 letters.