AlgebraDifficulty 4.8Prove itHarvard-MIT Mathematics Tournament · United States
a and b are positive integers. When written in binary, a has 2004 1's, and b has 2005 1's (not necessarily consecutive). What is the smallest number of 1's a+b could possibly have?
This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.
Consider the following addition: 111⋯100⋯01+11⋯11 By making the blocks of 1's and 0's appropriately long, we can ensure that the addends respectively contain 2004 and 2005 1's. (To be precise, we get a=24008−22005+1 and b=22005−1.) Then the sum has only one 1. And clearly it is not possible to get any less than one 1.
Source: MathNet,
licensed CC-BY-4.0.
Statement reproduced verbatim; metadata (topic, difficulty, ordering) added by this project.