Call a positive integer a -sum if it can be written as the sum of consecutive positive integers. For example, is a -sum because , it is a -sum because , and it is also a -sum because . The smallest positive integer that is a -sum only for i.e. is not a -sum for can be written as for some positive integer What is
Hint: is prime.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
k = 1 0 2 4 .
For some general q -sum x , write x as x = ( z + 1 ) + ( z + 2 ) + ( z + 3 ) + . . . + ( z + q ) = q z + 2 q ( q + 1 ) . We consider the residue of x mod q :
x ≡ q z + 2 q ( q + 1 ) ≡ 2 q ( q + 1 ) m o d q
Write q as q = 2 p + 1 for some positive integer p . Then:
x ≡ 2 q ( q + 1 ) ≡ 2 ( 2 p + 1 ) ( 2 p + 2 ) ≡ ( p + 1 ) ( 2 p + 1 ) ≡ 0 m o d 2 p + 1
Write q as q = 2 p for some positive integer p . Then:
x ≡ 2 q ( q + 1 ) ≡ 2 ( 2 p ) ( 2 p + 1 ) ≡ p ( 2 p + 1 ) ≡ 2 p ( p ) + p ≡ p m o d 2 p
We have shown that if the residue of x mod q is not consistent with the cases above, then x is not a q -sum.
Now, since x is a 2 0 1 7 -sum, it must take the form x = 2 2 0 1 7 ( 2 0 1 8 ) + 2 0 1 7 d = 2 0 1 7 ( 1 0 0 9 + d ) for some positive integer d . We let k = 1 0 0 9 + d .
Consider the following restrictions on x = 2 0 1 7 k , as given by the residue cases above:
x ≡ 1 m o d 2
x ≡ 0 m o d 3
x ≡ 2 m o d 4
x ≡ 0 m o d 5
x ≡ 3 m o d 6
...
x ≡ 0 m o d 2 0 1 5
x ≡ 1 0 0 8 m o d 2 0 1 6
Note that because 2017 is prime, it has an inverse modulo 2 , 3 , 4 , . . . , 2 0 1 6 , meaning that the same restrictions apply to x as to k :
k ≡ 1 m o d 2
k ≡ 0 m o d 3
k ≡ 2 m o d 4
k ≡ 0 m o d 5
k ≡ 3 m o d 6
...
k ≡ 0 m o d 2 0 1 5
k ≡ 1 0 0 8 m o d 2 0 1 6
Now, we wish to find a minimal such k . Note that if t is odd, k ≡ 0 m o d t . This means that, since all primes except for 2 are odd, k is not a multiple of any primes except for 2. In other words, the prime factorization of k contains only factors of 2, or k is a power of 2. Since k is minimal, a power of 2, and greater than or equal to 1 0 0 9 , we have k = 1 0 2 4 .
Note: This problem was inspired by a problem on the 2017 William Lowell Putnam Exam.