olymmath

OLYMPIC-REVENGE 2017 Problem 3

    Let nn a positive integer. We call a pair (π,C)(\pi ,C) composed by a permutation π\pi :: { 1,2,...n1,2,...n } →\rightarrow { 1,2,...,n1,2,...,n } and a binary function C:C: { 1,2,...,n1,2,...,n } →\rightarrow { 0,10,1 } "revengeful" if it satisfies the two following conditions: 1)1) For every ii ∈\in { 1,2,...,n1,2,...,n }, there exist jj ∈\in Si=S_{i}= { i,π(i),π(π(i)),...i, \pi(i),\pi(\pi(i)),... } such that C(j)=1C(j)=1 . 2)2) If C(k)=1C(k)=1 , then kk is one of the v2(∣Sk∣)+1v_{2}(|S_{k}|)+1 highest elements of SkS_{k} , where v2(t)v_{2}(t) is the highest nonnegative integer such that 2v2(t)2^{v_{2}(t)} divides tt , for every positive integer tt .

    Let VV the number of revengeful pairs and PP the number of partitions of nn with all parts powers of 22 . Determine VP\frac{V}{P} .

    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 olympic-revenge/2017/p3 · Tag C84C7DCQ2Y · Edit this page on GitHub · Keys: j next, k previous