Setting $n = 1,$ we get
\[f(3) = f(1) + 1 = 2.\]Setting $n = 3,$ we get
\[f(7) = f(3) + 1 = 3.\]Setting $n = 7,$ we get
\[f(15) = f(7) + 1 = \boxed{4}.\]
The function $f(n)$ satisfies $f(1) = 1$ and $f(2n + 1) = f(n) + 1$ for $n \ge 0.$  Find $f(15).$
{'answer': '4', 'subject': 'Intermediate Algebra', 'level': 2, 'unique_id': 'test/intermediate_algebra/1022.json'}