olymmath

DANUBE 2009 Problem 5

    Let σ,τ\sigma, \tau be two permutations of the quantity {1,2,...,n}\{1, 2,. . . , n\} . Prove that there is a function f:{1,2,...,n}→{−1,1}f: \{1, 2,. . . , n\} \to \{-1, 1\} such that for any 1≤i≤j≤n1 \le i \le j \le n , we have ∣∑k=ijf(σ(k))∣≤2\left|\sum_{k=i}^{j} f(\sigma (k)) \right| \le 2 and ∣∑k=ijf(τ(k))∣≤2\left|\sum_{k=i}^{j} f(\tau (k))\right| \le 2

    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 danube/2009/p5 · Tag MTTYPT85AT · Edit this page on GitHub · Keys: j next, k previous