olymmath

HMMT 2021 U16

  • Guts
  • Answer

Let f:Z2→Zf: \mathbb{Z}^{2} \rightarrow \mathbb{Z} be a function such that, for all positive integers aa and bb,

f(a,b)={b if a>bf(2a,b) if a≤b and f(2a,b)<af(2a,b)−a otherwise f(a, b)= \begin{cases}b & \text { if } a>b \\ f(2 a, b) & \text { if } a \leq b \text { and } f(2 a, b)<a \\ f(2 a, b)-a & \text { otherwise }\end{cases}

Compute f(1000,32021)f\left(1000,3^{2021}\right).

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

203

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 hmmt/2021/u16 · Tag RA9JR1BJJ2 · Edit this page on GitHub · Keys: j next, k previous