olymmath

HK-PC 2020 Problem 6

    For a sequence with some ones and zeros, we count the number of continuous runs of equal digits in it. (For example the sequence 011001010011001010 has 77 continuous runs: 0,11,00,1,0,1,00,11,00,1,0,1,0 .) Find the sum of the number of all continuous runs for all possible sequences with 20192019 ones and 20192019 zeros.

    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 hk-pc/2020/p6 · Tag XBRCADMKTB · Edit this page on GitHub · Keys: j next, k previous