A special property for a number

Call a positive integer N N a q q -sum if it can be written as the sum of q q consecutive positive integers. For example, 15 15 is a 2 2 -sum because 15 = 7 + 8 15 = 7+8 , it is a 3 3 -sum because 15 = 4 + 5 + 6 15 = 4+5+6 , and it is also a 5 5 -sum because 15 = 1 + 2 + 3 + 4 + 5 15 = 1+2+3+4+5 . The smallest positive integer x x that is a q q -sum only for q = 2017 q = 2017 ( ( i.e. x x is not a q q -sum for q = 2 , 3 , 4 , . . . , 2016 , 2018 , . . . ) q = 2,3,4,...,2016,2018,...) can be written as 2017 k 2017 \cdot k for some positive integer k . k. What is k ? k?

Hint: 2017 2017 is prime.


The answer is 1024.

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.

1 solution

Will van Noordt
Dec 29, 2017

k = 1024 k = 1024 .

For some general q q -sum x x , write x x as x = ( z + 1 ) + ( z + 2 ) + ( z + 3 ) + . . . + ( z + q ) = q z + q ( q + 1 ) 2 x = (z+1)+(z+2)+(z+3)+...+(z+q) = qz + \frac{q(q+1)}{2} . We consider the residue of x x mod q q :

x q z + q ( q + 1 ) 2 q ( q + 1 ) 2 m o d q x\equiv qz + \frac{q(q+1)}{2} \equiv \frac{q(q+1)}{2} \mod q

  • Case 1: q 1 m o d 2 q\equiv 1 \mod 2 :

Write q q as q = 2 p + 1 q = 2p+1 for some positive integer p p . Then:

x q ( q + 1 ) 2 ( 2 p + 1 ) ( 2 p + 2 ) 2 ( p + 1 ) ( 2 p + 1 ) 0 m o d 2 p + 1 x\equiv \frac{q(q+1)}{2} \equiv \frac{(2p+1)(2p+2)}{2} \equiv (p+1)(2p+1) \equiv 0 \mod 2p+1

  • Case 2: q 0 m o d 2 q\equiv 0 \mod 2 :

Write q q as q = 2 p q = 2p for some positive integer p p . Then:

x q ( q + 1 ) 2 ( 2 p ) ( 2 p + 1 ) 2 p ( 2 p + 1 ) 2 p ( p ) + p p m o d 2 p x\equiv \frac{q(q+1)}{2} \equiv \frac{(2p)(2p+1)}{2} \equiv p(2p+1) \equiv 2p(p) + p \equiv p \mod 2p

We have shown that if the residue of x x mod q q is not consistent with the cases above, then x x is not a q q -sum.

Now, since x x is a 2017 2017 -sum, it must take the form x = 2017 ( 2018 ) 2 + 2017 d = 2017 ( 1009 + d ) x = \frac{2017(2018)}{2} + 2017d = 2017(1009+d) for some positive integer d d . We let k = 1009 + d k = 1009 + d .

Consider the following restrictions on x = 2017 k x = 2017k , as given by the residue cases above:

x ≢ 1 m o d 2 x \not\equiv 1 \mod 2

x ≢ 0 m o d 3 x \not\equiv 0 \mod 3

x ≢ 2 m o d 4 x \not\equiv 2 \mod 4

x ≢ 0 m o d 5 x \not\equiv 0 \mod 5

x ≢ 3 m o d 6 x \not\equiv 3 \mod 6

...

x ≢ 0 m o d 2015 x \not\equiv 0 \mod 2015

x ≢ 1008 m o d 2016 x \not\equiv 1008 \mod 2016

Note that because 2017 is prime, it has an inverse modulo 2 , 3 , 4 , . . . , 2016 2,3,4,...,2016 , meaning that the same restrictions apply to x x as to k k :

k ≢ 1 m o d 2 k \not\equiv 1 \mod 2

k ≢ 0 m o d 3 k \not\equiv 0 \mod 3

k ≢ 2 m o d 4 k \not\equiv 2 \mod 4

k ≢ 0 m o d 5 k \not\equiv 0 \mod 5

k ≢ 3 m o d 6 k \not\equiv 3 \mod 6

...

k ≢ 0 m o d 2015 k \not\equiv 0 \mod 2015

k ≢ 1008 m o d 2016 k \not\equiv 1008 \mod 2016

Now, we wish to find a minimal such k k . Note that if t t is odd, k ≢ 0 m o d t k \not\equiv 0 \mod t . This means that, since all primes except for 2 are odd, k k is not a multiple of any primes except for 2. In other words, the prime factorization of k k contains only factors of 2, or k k is a power of 2. Since k k is minimal, a power of 2, and greater than or equal to 1009 1009 , we have k = 1024 k = 1024 .

Note: This problem was inspired by a problem on the 2017 William Lowell Putnam Exam.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...