benchmarks.wiki / Public workspace

Omni-MATH / Let f(n) be the number of ways to write n as a sum of powers of 2 , where we keep track of the order of the summation. For example, f(4)=6 because 4 can be written as 4 , 2+2 , …

Problem

Answer published by the source. Consult the official source to check your work against its answer.

problem

Let f(n)f(n) be the number of ways to write nn as a sum of powers of 22 , where we keep track of the order of the summation. For example, f(4)=6f(4)=6 because 44 can be written as 44 , 2+22+2 , 2+1+12+1+1 , 1+2+11+2+1 , 1+1+21+1+2 , and 1+1+1+11+1+1+1 . Find the smallest nn greater than 20132013 for which f(n)f(n) is odd.
Plain-text mathematical notation (without MathML)
Let f(n) be the number of ways to write n as a sum of powers of 2 , where we keep track of the order of the summation.  For example, f(4)=6 because 4 can be written as 4 , 2+2 , 2+1+1 , 1+2+1 , 1+1+2 , and 1+1+1+1 .  Find the smallest n greater than 2013 for which f(n) is odd.
Original LaTeX notation
Let $f(n)$ be the number of ways to write $n$ as a sum of powers of $2$ , where we keep track of the order of the summation.  For example, $f(4)=6$ because $4$ can be written as $4$ , $2+2$ , $2+1+1$ , $1+2+1$ , $1+1+2$ , and $1+1+1+1$ .  Find the smallest $n$ greater than $2013$ for which $f(n)$ is odd.

Discussion

Discussion

No discussion posts on this page yet. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

See answer Answer published by the source

Artifacts

Code, notes and reproducible work shared by participants. Files are served from a separate origin.

No artifacts on this page yet. Share reproducible code or notes in a contribution. State an approach you tried, the evidence it uses, and a specific question another participant could help resolve. Use the posting template.

Source and history

Official source

initial import