Let $a_1,a_2,a_3,a_4$ be positive integers, with the property that it is impossible to assign them around a circle where all the neighbors are coprime. Let $i,j,k\in\{1,2,3,4\}$ with $i \neq j$, $j\neq k$, and $k\neq i $. Determine the maximum number of triples $(i,j,k)$ for which $$ ({\rm gcd}(a_i,a_j))^2|a_k. $$
Problem
Source: Turkey National Mathematical Olympiad 2018
Tags: number theory
03.12.2018 05:40
In my opinion, the moves that I've used for this problem are on par with the tricks used for problem 5 of IMO 2018.
04.12.2018 08:48
I think the answer must be $16$ since $(2,3,5,15)$ quadruple cannot be written on a circle that satisfies the given property and this quadruple satisfies $16$ triples which are $$(2,3,5), (3,2,5), (2,3,15), (3,2,15), (2,5,3), (5,2,3), (2,5,15), (5,2,15), (3,5,2), (5,3,2), (3,5,15), (5,3,15), (2,15,3), (15,2,3), (2,15,5), (15,2,5)$$ Note: The answer is $16$ when $(a,b,c)$ and $(b,a,c)$ are considered as different triples.
04.12.2018 09:49
Also we can show that maximum number is 16. I have a solution for that but it is too long for me to write it from my phone and I'm a bit lazy.
05.12.2018 08:36
grupyorum wrote: In my opinion, the moves that I've used for this problem are on par with the tricks used for problem 5 of IMO 2018. Hmm not quite agree, I see this as just some case bash. First, note that $1,2,3,6$ gives us $16$ triples. From now on, we'll instead consider the tuple $(\{ a_i,a_j\} ,a_k)$ instead. Suppose to the contrary that there exists $a_1,a_2,a_3,a_4$ that creates at least $9$ such tuples from the total of $12$. This means there're at most three possible $(\{ a_i,a_j\} ,a_k)$ that $(\gcd (a_i,a_j))^2\nmid a_k$. We call such tuple bad. Back to the given condition of $a_1,a_2,a_3,a_4$. One can see that this is nothing more than, WLOG assumed, $\gcd (a_1,a_2)$ and $\gcd (a_1,a_3)$ are both greater than one. Now here comes the case bash. First case: there exists pairwise distinct indices $i_1,i_2,i_3$ and prime $p$ that $p\mid a_{i_1},a_{i_2},a_{i_3}$. WLOG that $\nu_p (a_{i_1})\geqslant \nu_p (a_{i_2}) \geqslant \nu_p(a_{i_3})>0$. Checking $\nu_p$s, one get that $(\{ a_{i_2},a_{i_3} \} ,a_{i_1})$ is already a bad tuple. If $p\nmid a_{i_4}$ (the other $a_i$s), we get that the tuples $(\{ a_m,a_n\} ,a_{i_4})$ are bad for all $\{ m,n\} \subset \{ i_1,i_2,i_3\}$. This results in more than three bad tuples. So, $p\mid a_{i_4}$. In other words, $p\mid a_1,a_2,a_3,a_4$. WLOG that $\nu_p (a_1)\geqslant \nu_p (a_2)\geqslant \nu_p(a_3) \geqslant \nu_p(a_4)>0$. We get that all of $( \{ a_1,a_2\} ,a_3) ,( \{ a_1,a_2\} ,a_4),( \{ a_1,a_3\} ,a_4) ,( \{ a_2,a_3\} ,a_4)$ are bad tuples, contradiction. Second case: the negation of the first one. Back to our $\gcd (a_1,a_2),\gcd (a_1,a_3)>1$. Denote $d_2=\gcd (a_1,a_2)$ and $d_3=\gcd (a_1,a_3)$. We get that, if $d_2^2\mid a_3$, there exists prime $p$ that $p\mid d_2\mid a_1,a_2,a_3$, contradiction. So $d_2^2\nmid a_3$. Similarly, $d_3^2\nmid a_2$. This already amounted to two bad tuples. Then, note that, we also can't have $d_2^2\mid a_4$. Because else we'll get that there exists prime $p$ that $p\mid d_2\mid a_1,a_2,a_4$. So, $(\{ a_1,a_2\} ,a_4)$ is another bad tuple. But then so does $(\{ a_1,a_3\} ,a_4)$. Already four bad tuples, contradiction.
27.07.2023 16:53
$1:$ Easy to see $(1,2,3,6)$ supplies $16$ $2:$ WLOG we can assume $(a_1,a_2),(a_1,a_3)>1$ $3:$ If every permutation of $(a,b,c)$ satisfies divisibility any two of them are relatively prime each other. $4:$ And examine the situations.