MathDB
Partitions into Powers of 2

Source: 2013 USAJMO #4

May 1, 2013
inductionAMCUSA(J)MOOlympiad CombinatoricsrecursionfunctionHi

Problem Statement

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.