olymmath

OSN 2022 Problem 7

    Let AA be the sequence of zeroes and ones (binary sequence). The sequence can be modified by the following operation: we may pick a block or a contiguous subsequence where there are an unequal number of zeroes and ones, and then flip their order within the block (so block a1,a2,…,ara_1, a_2, \ldots, a_r becomes ar,ar−1,…,a1a_r, a_{r-1}, \ldots, a_1 ).

    As an example, let AA be the sequence 1,1,0,0,11,1,0,0,1 . We can pick block 1,0,01,0,0 and flip it, so the sequence 1,1,0,0,11,\boxed{1,0,0},1 becomes 1,0,0,1,11,\boxed{0,0,1},1 . However, we cannot pick block 1,1,0,01,1,0,0 and flip their order since they contain the same number of 11 s and 00 s.

    Two sequences AA and BB are called related if AA can be transformed into BB using a finite number the operation mentioned above.

    Determine the largest natural number nn for which there exists nn different sequences A1,A2,…,AnA_1, A_2, \ldots, A_n where each sequence consists of 2022 digits, and for every index i≠ji \neq j , the sequence AiA_i is not related to AjA_j .

    Dataset text AI-MO AoPS. 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

    Similar problems

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

    Locator id-osn/2022/p7 · Tag V80AG1Q0AJ · Edit this page on GitHub · Keys: j next, k previous