olymmath

OME 2001 Problem 6

    Define the function f:N→Nf: \mathbb{N} \rightarrow \mathbb{N} which satisfies, for any s,n∈Ns, n \in \mathbb{N} , the following conditions: f(1)=f(2s)f(1) = f(2^s) and if n<2sn < 2^s , then f(2s+n)=f(n)+1.f(2^s + n) = f(n) + 1. Calculate the maximum value of f(n)f(n) when n≤2001n \leq 2001 and find the smallest natural number nn such that f(n)=2001.f(n) = 2001.

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