For each positive integer $k,$ let $t(k)$ be the largest odd divisor of $k.$ Determine all positive integers $a$ for which there exists a positive integer $n,$ such that all the differences \[t(n+a)-t(n); t(n+a+1)-t(n+1), \ldots, t(n+2a-1)-t(n+a-1)\] are divisible by 4. Proposed by Gerhard Wöginger, Austria
Problem
Source: IMO Shortlist 2011, Number Theory 4
Tags: number theory, IMO Shortlist, combinatorics
12.07.2012 06:08
09.01.2013 19:36
answer the problem $a=1,3,5$.
11.07.2016 05:44
12.09.2016 14:38
2011 N4 seems to be the easiest number theory problem in 2011 ISL.
24.08.2017 19:36
Someone please proofread my crappy solution (BTW, I have seen lot harder N1 than this)
09.10.2020 17:09
25.06.2021 20:28
A bit disappointed that there was no cool construction involved in the problem. Solved with L567
We therefore have to check $a \in \{1,3,5,7\}$ and we get that only $a=1,3,5$ work using $n=32769,8193,131076$. $\blacksquare$
15.05.2022 19:13
Fake problem The answer is $a=1,3,5$, which work by using $n=1,1,4$ respectively. We consider the following two cases. Case 1: $a$ is even. Then let $k=\nu_2(a)>0$ and write $a=2^kb$. Among any $a$ consecutive integers, one must have $\nu_2$ equal to $k-1$, so it's of the form $2^km+2^{k-1}$. Then, $t(2^km+2^{k-1})=2m+1$, and $t(2^km+2^{k-1}+a)=t(2^k(b+m)+2^{k-1})=2(b+m)+1$, so their difference is $2b$. As $b$ is odd this means $4 \nmid 2b$, contradiction. So we get no solutions for this case. Case 2: $a$ is odd. Then let $a=2b+1$. Suppose there exists some term $x$ in $n,\ldots,n+a-1$ such that $x \equiv 2 \pmod{8}$. Then $t(x)=\tfrac{x}{2}$, and $t(x+a)=x+a$, so we require $4 \mid x+a-\tfrac{x}{2} \implies 8 \mid x+2a \implies 8 \mid 2a+2$. Likewise if there exists some term $y \equiv 6 \pmod{8}$, we require $8 \mid 2a+6$. But these cannot simultaneously be satisfied, so we immediately obtain $a \leq 8$ (else $n,\ldots,n+a-1$ covers all residues modulo $8$). It remains to eliminate $a=7$. We only have to consider $n \equiv 3,7 \pmod{8}$, otherwise $n,\ldots,n+a-1$ will cover both $2$ and $6$ modulo $8$. In this case, there exists some term $z \equiv 3 \pmod{8}$, so $t(z)=z$ and $t(z+a)=\tfrac{z+7}{2}$ as $z+a \equiv 2 \pmod{8}$. But then we require $4 \mid z-\tfrac{z+7}{2} \implies 8 \mid z-7$, which is impossible. Thus $a=7$ does not work, so we are left with $a=1,3,5$ as desired. $\blacksquare$
14.04.2023 15:50
If $2\mid a$ let $\nu_2(a)=k$. Since $a\ge 2^k$, we can always find $0\le i\le a-1$ such that $n+a+i$, $n+i\equiv 2^{k-1}\pmod {2^k}$. Then, \[\nu_2\left(t(n+a+i)-t(n+i)\right)=\nu_2\left(\frac{n+a+i}{2^{k-1}}-\frac{n+i}{2^{k-1}}\right)=\nu_2\left(\frac{a}{2^{k-1}}\right)=1\]so evens don't work. $~$ If $2\nmid a$ and $a\ge 7$ then we can always find two values $0\le i\le a-1$ such that $n+i\equiv 2\pmod 4$ or two consecutive values that $n+a+i\equiv 2\pmod 4$. Both are basically the same thing, so let it be the former. Let $n+i$ and $n+i+4$ be our two values $\equiv 2\pmod 4$. $~$ Note that $n+a+i$ is odd, so $t(n+a+i+4)\equiv t(n+a+i)\pmod 4$. It is clear that $t(n+i+4)\not\equiv t(n+i)\pmod 4$ so the differences cannot both be zero. Thus, only $a=1$, $3$, $5$ can work. They do work, when $n=1$, $1$ and $4$ respectively.
30.05.2023 16:40
$\boxed{\textbf{Claim 1: } a \text{ can't be even.}}$ $\underline{\text{Proof:}}$ Let, $a = 2^xk$ where $k$ is an odd number. Now, $\exists m\in\{n, n+1, \dots, n+a-1\}$ s.t. $m\equiv 2^{x-1}\pmod{2^x}$. Therefore, $m = 2^{x-1} + 2^xd$. Now, \begin{align*} t(m+a)-t(m) &= t(2^{x-1} + 2^xd + 2^xk) - t(2^{x-1} + 2^xd)\\ &= (1+2d+2k)-(1+2d)\\ &= 2k \end{align*}But, $2k \equiv 2 \not\equiv 0 \pmod 4$. So, our claim is proved. $\square$ $\boxed{\textbf{Claim 1: } a < 6 \text{.}}$ $\underline{\text{Proof:}}$ FTSOC, let $a \geq 6$. Then one of, $\{n, n+1, \dots, n+a-1\}$ and $\{n+a, \dots, n+2a-1\}$ will have at least two element congruent to $2\pmod 4$. Case 1: two of $\{n, n+1, \dots, n+a-1\}$ are $2\pmod4$. Let two of them be, $2k, 2k+4$. Then, \begin{align*} t(2k+a)-t(2k) &= 2k+a - k\\ &= k+a \end{align*}And, \begin{align*} t(2k+4+a)-t(2k+4) &= 2k+4+a - k - 2\\ &= k+a+2 \end{align*}Clearly, both of them can't be divisible by $4$. Case 2: two of $\{n+a, \dots, n+2a-1\}$ are $2\pmod4$. Similar to Case 1, take $2k-a$ and $2k+4-a$. So, This claim is also proved. $\square$ Now, for $a\in \{1,3\}$ we take $n=1$. And for $a = 5$ we just take $n = 4$ and we are done. $\blacksquare$
18.09.2023 04:50
Easy but also a super fun problem (initially I misread as largest odd prime and I was like what the -) The key is to get rid of all a even; from there it's much easier to compute mod 4 since odd divisors are easy. Indeed, if a is even let $v_2(a)=k$, and take $i:n+a+i\equiv n+i\equiv 2^{k-1}\pmod{2^k}$ (we know there exists i since $a\ge 2^k$ so i can go over all residues). There is now a direct contradiction (we were motivated earlier since now we can definitively find odd divisor) since $$v_2(t(a+n+i)-t(n+i))=v_2(\frac{a+n+i}{2^{k-1}}-\frac{n+i}{2^{k-1}})=1.$$Now, if $a\ge 7$ is odd, take i=2 mod 4 and i'=i+4 both in the set: $t(a+4k+2)-t(4k+2)=a+2k+1$, so to satisfy problem we would need $a=-2k-1\pmod 4$; on the other hand, $t(a+4k+6)-t(4k+6)=a+2k+3\Rightarrow a=-2k-3\pmod 4$, contradiction. To finish, note that a=1,3,5 all work with n=1,1,4.
16.07.2024 14:26
Try the modified problem : For each positive integer $k,$ let $t(k)$ be the largest odd divisor of $k.$ Determine all positive integers $a$ for which there exists a positive integer $n,$ such that all the differences \[t(n+a)-t(a); t(n+a+1)-t(a+1), \ldots, t(n+2a-1)-t(2a-1)\]are divisible by 4.
17.07.2024 16:06
My proof is similar to the above ones ig becoz that was the most obvious way dealing mod 4 and for even it was straightforward contradiction.