olymmath

CAPS 2004 Problem 6

    On the table there are k≥3k \ge 3 heaps of 1,2,…,k1, 2, \dots , k stones. In the first step, we choose any three of the heaps, merge them into a single new heap, and remove 11 stone from this new heap. Thereafter, in the ii -th step ( i≥2i \ge 2 ) we merge some three heaps containing more than ii stones in total and remove ii stones from the new heap. Assume that after a number of steps a single heap of pp stones remains on the table. Show that the number pp is a perfect square if and only if so are both 2k+22k + 2 and 3k+13k + 1 . Find the least kk with this property.

    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 caps/2004/p6 · Tag T83RJWXFD0 · Edit this page on GitHub · Keys: j next, k previous