olymmath

RMO 2024 Problem 2

    For a positive integer nn , let R(n)R(n) be the sum of the remainders when nn is divided by 1,2,⋯ ,n1,2, \cdots , n . For example, R(4)=0+0+1+0=1,R(4) = 0 + 0 + 1 + 0 = 1, R(7)=0+1+1+3+2+1+0=8R(7) = 0 + 1 + 1 + 3 + 2 + 1 + 0 = 8 . Find all positive integers such that R(n)=n−1R(n) = n-1 .

    Dataset text AI-MO AoPS. Quoted with source.

    Official text: Indian Regional Mathematical Olympiad 2024 official paper, page 1.

    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 in-rmo/2024/p2 · Tag WD7H3J5C1B · Edit this page on GitHub · Keys: j next, k previous