Skip to content / Đến nội dung
ThichHocToan.com

MathNet 2025-part-01 — 187 problems (EN–VI) Question 179

Math Olympiad Vault · MathNet 2025-part-01 — 187 problems (EN–VI)

Question 179

Find the largest integer $k$ such that any string of $2025$ letters consisting only of $A$'s and $B$'s contains a palindromic substring of length $k$ or longer. A palindromic substring is a string of consecutive letters which reads the same backwards as forwards.