The Fibonacci numbers are defined recursively by , and for . Given 15 wooden blocks of weights , compute the number of ways to paint each block either red or blue such that the total weight of the red blocks equals the total weight of the blue blocks.
Solution
Partition the blocks into sets We can show by bounding that belongs on the opposite side as and , and, in general, that is on the opposite side as and . Hence, it suffices to choose which side each of go. This gives ways.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.