olymmath

HMIC 2021 Problem 2

  • Answer

Let nn be a positive integer. Alice writes nn real numbers a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} in a line (in that order). Every move, she picks one number and replaces it with the average of itself and its neighbors (an\left(a_{n}\right. is not a neighbor of a1a_{1}, nor vice versa). A number changes sign if it changes from being nonnegative to negative or vice versa. In terms of nn, determine the maximum number of times that a1a_{1} can change sign, across all possible values of a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} and all possible sequences of moves Alice may make.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

n-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 hmic/2021/p2 · Tag J14XKJA0TK · Edit this page on GitHub · Keys: j next, k previous