An integer $n>1$ is given . Find the smallest positive number $m$ satisfying the following conditions: for any set $\{a,b\}$ $\subset \{1,2,\cdots,2n-1\}$ ,there are non-negative integers $ x, y$ ( not all zero) such that $2n|ax+by$ and $x+y\leq m.$
Problem
Source: China Shanghai ,Mar 12, 2017
Tags: number theory, algebra, China TST
12.03.2017 20:31
13.03.2017 10:20
math90 wrote:
Thanks.
13.03.2017 13:32
math90 wrote:
Mine the same
13.03.2017 16:36
I hope this one is correct ! Let $a,b\in\{1,...,2n-1\}$ be different. If one of them is even, say $a$, we simply take $x=n,y=0$. Assume that both $a$ and $b$ are odd. The set $\{(k,k)|0\leq k< n\}\cup\{(k,k+1)|0\leq k\leq n-1\}\cup\{(k,k+2)|0\leq k\leq n-2\}$ has $3n-1>2n$ pairs, therefore there are pairs $(k,k')$ and $(r,r')$ such that $ka+k'b\equiv ra+r'b\pmod{2n}$. If $k=r$, we are done by taking $x=0,y=|k'-r'|$. If $k=r+1$ and $r'>k'$, we must have $r'-k'=1$, so we have $x-y\equiv 0\pmod{2n}$ which is impossible. In other cases we have $k> r$ and $k'\geq r'$. Let $s=k-r$ and $t=k'-r'$. Note that $0<s<n$ and $0\leq t\leq n$. If $s+t\leq n$, we are done by taking $x=s,y=t$. Otherwise we take $x=n-s,y=n-t$. This proves that $m\leq n$ if $a$ and $b$ are not allowed to be equal! If they are allowed, then $m=2n$ ( We simply take $a=b=1$ and find $2n|x+y\leq m$)