olymmath

BALTIC-WAY 2025 Problem 8

    A sequence of non-negative integers a1,…,ana_1, \ldots, a_n is called self-descriptive if

    ak=∣{i∣ai≥k}∣a_k = |\{i \mid a_i \geq k\}|

    for each k∈{1,…,n}k \in \{1, \ldots, n\}, i.e. aka_k equals the number of elements of the sequence that are greater than or equal to kk, for each k∈{1,…,n}k \in \{1, \ldots, n\}.

    For each positive integer nn, determine the number of self-descriptive sequences of length nn.

    Official text Baltic Way 2025 official paper, page 2. Quoted with source.

    A model read this text from the scan of the paper by OCR, with vision/local (GLM-OCR-8bit). No person has checked it against the paper yet.

    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

    Similar problems

    These problems have the most words in common with this statement.

    Locator baltic-way/2025/p8 · Tag H13CRQ5T3R · Edit this page on GitHub · Keys: j next, k previous