olymmath

ELMO SL 2014 C4

    Let rr and bb be positive integers. The game of Monis, a variant of Tetris, consists of a single column of red and blue blocks. If two blocks of the same color ever touch each other, they both vanish immediately. A red block falls onto the top of the column exactly once every rr years, while a blue block falls exactly once every bb years.

    (a) Suppose that rr and bb are odd, and moreover the cycles are offset in such a way that no two blocks ever fall at exactly the same time. Consider a period of rbrb years in which the column is initially empty. Determine, in terms of rr and bb , the number of blocks in the column at the end.

    (b) Now suppose rr and bb are relatively prime and r+br+b is odd. At time t=0t=0 , the column is initially empty. Suppose a red block falls at times t=r,2r,…,(b−1)rt = r, 2r, \dots, (b-1)r years, while a blue block falls at times t=b,2b,…,(r−1)bt = b, 2b, \dots, (r-1)b years. Prove that at time t=rbt=rb , the number of blocks in the column is ∣1+2(r−1)(b+r)−8S∣\left\lvert 1+2(r-1)(b+r)-8S \right\rvert , where S=⌊2rr+b⌋+⌊4rr+b⌋+...+⌊(r+b−1)rr+b⌋.S = \left\lfloor \frac{2r}{r+b} \right\rfloor + \left\lfloor \frac{4r}{r+b} \right\rfloor + ... + \left\lfloor \frac{(r+b-1)r}{r+b} \right\rfloor . Proposed by Sammy Luo

    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 elmo-sl/2014/c4 · Tag G9B5SW2WJ7 · Edit this page on GitHub · Keys: j next, k previous