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

MathNet 2002 — Part 02 Question 57

Math Olympiad Vault · MathNet 2002 — Part 02

Question 57

For any positive integer $n$, let $f(n)$ denote the number of 1's in the base-2 representation of $n$. For how many values of $n$ with $1 \leq n \leq 2002$ do we have $f(n) = f(n+1)$?