Skip to content / Đến nội dung
ThichHocToan.com

SMO 2005 Open Round 1 Question 9

SMO · SMO 2005 Open Round 1

Question 9

The function $f(n)$ is defined for all positive integers $n$ and takes nonnegative integer values such that $f(2)=0$, $f(3)>0$ and $f(9999)=3333$. Also, for all positive integers $m,n$,

$$f(m+n)-f(m)-f(n)\in\{0,1\}.$$

Determine $f(2005)$.