olymmath

HMMT November 2015 U18

  • Guts
  • Answer

A function ff satisfies, for all nonnegative integers xx and yy :

  • f(0,x)=f(x,0)=xf(0, x)=f(x, 0)=x
  • If x≥y≥0,f(x,y)=f(x−y,y)+1x \geq y \geq 0, f(x, y)=f(x-y, y)+1
  • If y≥x≥0,f(x,y)=f(x,y−x)+1y \geq x \geq 0, f(x, y)=f(x, y-x)+1

Find the maximum value of ff over 0≤x,y≤1000 \leq x, y \leq 100.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

101

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 hmnt/2015/u18 · Tag PCB850CDC2 · Edit this page on GitHub · Keys: j next, k previous