olymmath

HMMT November 2024 E5

  • General
  • Answer

Let ff be a function on nonnegative integers such that f(0)=0f(0)=0 and

f(3n+2)=f(3n+1)=f(3n)+1=3f(n)+1f(3 n+2)=f(3 n+1)=f(3 n)+1=3 f(n)+1

for all integers n≥0n \geq 0. Compute the sum of all nonnegative integers mm such that f(m)=13f(m)=13.

Dataset text NuminaMath olympiads. Quoted with source.

Show the answer

156

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/2024/e5 · Tag PTQXFQYQY7 · Edit this page on GitHub · Keys: j next, k previous