Browse · MathNet
PrintAPMO 2016
2016 number theory
Problem
A positive integer is called fancy if it can be expressed in the form where are non-negative integers that are not necessarily distinct. Find the smallest positive integer such that no multiple of is a fancy number.
Solution
Let be any positive integer less than . Then can be expressed in binary notation using at most 100 ones, and therefore there exists a positive integer and non-negative integers such that and . Notice that for a positive integer we have: This shows that has a multiple that is a sum of powers of two. In particular, we may take , which shows that has a multiple that is a fancy number.
We will now prove that no multiple of is a fancy number. In fact we will prove a stronger statement, namely, that no multiple of can be expressed as the sum of at most 100 powers of 2.
For the sake of contradiction, suppose that there exists a positive integer such that is the sum of at most 100 powers of 2. We may assume that is the smallest such integer. By repeatedly merging equal powers of two in the representation of we may assume that where and are distinct non-negative integers. Consider the following two cases:
- If , then . It follows that would be a multiple of that is smaller than . This contradicts the minimality of .
- If , then is a proper subset of . Then This is also a contradiction.
From these contradictions we conclude that it is impossible for to be the sum of at most 100 powers of 2. In particular, no multiple of is a fancy number.
We will now prove that no multiple of is a fancy number. In fact we will prove a stronger statement, namely, that no multiple of can be expressed as the sum of at most 100 powers of 2.
For the sake of contradiction, suppose that there exists a positive integer such that is the sum of at most 100 powers of 2. We may assume that is the smallest such integer. By repeatedly merging equal powers of two in the representation of we may assume that where and are distinct non-negative integers. Consider the following two cases:
- If , then . It follows that would be a multiple of that is smaller than . This contradicts the minimality of .
- If , then is a proper subset of . Then This is also a contradiction.
From these contradictions we conclude that it is impossible for to be the sum of at most 100 powers of 2. In particular, no multiple of is a fancy number.
Final answer
2^{101} - 1
Techniques
Divisibility / FactorizationIntegers