olymmath

OME 2020 Problem 2

    Consider the succession of integers {f(n)}n=1∞\{f(n)\}_{n=1}^{\infty} defined as: ∙\bullet f(1)=1f(1) = 1 . ∙\bullet f(n)=f(n/2)f(n) = f(n/2) if nn is even. ∙\bullet If n>1n > 1 odd and f(n−1)f(n-1) odd, then f(n)=f(n−1)−1f(n) = f(n-1)-1 . ∙\bullet If n>1n > 1 odd and f(n−1)f(n-1) even, then f(n)=f(n−1)+1f(n) = f(n-1)+1 .

    a) Compute f(22020−1)f(2^{2020}-1) .

    b) Prove that {f(n)}n=1∞\{f(n)\}_{n=1}^{\infty} is not periodical, that is, there do not exist positive integers tt and n0n_0 such that f(n+t)=f(n)f(n+t) = f(n) for all n≥n0n \geq n_0 .

    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 es-ome/2020/p2 · Tag 5NED0P2TCC · Edit this page on GitHub · Keys: j next, k previous