TxO Math Bowl 2024 - Individuals A - Problem 14


Let NN be the number of strings (words) of length 77 such that each character is in the set {A,B,C,D}\{A,B,C,D\}, and that given any four consecutive characters from the string, they are not all distinct. Find the remainder when NN is divided by 100100.

For example, ABCBBDAABCBBDA is valid, as out of ABCBABCB, BCBBBCBB, CBBDCBBD, and BBDABBDA, each of them contain at least one duplicate letter, but ABCDABBABCDABB is invalid, because the letters in BCDABCDA are all distinct

Show/Hide Hints

Show/Hide Problem Tags

Problem Tags: Counting and probability

Want to contribute problems and receive full credit? Click here to add your problem!
Please report any issues to us in our Discord server
Go to previous contest problem (SHIFT + Left Arrow) Go to next contest problem (SHIFT + Right Arrow)
Category: TxO Math Bowl Individual Round
Points: 6
Back to practice