olymmath

NZ-NZMO 2025 Problem 4

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

    Dataset text NuminaMath olympiads. Quoted with source.

    Solutions

    No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.

    Add a solution

    Locator nz-nzmo/2025/p4 · Tag Q5EM9Q8J49 · Edit this page on GitHub · Keys: j next, k previous