MathLabs

Problem 1

There are 20262026 integers greater than 11 written on a blackboard, not necessarily different. In a move, Confucius chooses two integers m>1m>1 and n>1n>1 from different places on the blackboard and replaces these two integers with lcm⁡(m,n)gcd⁡(m,n)\tfrac{\operatorname{lcm}(m,n)}{\gcd(m,n)} and gcd⁡(m,n)\gcd(m,n). He continues to make moves while it is possible to do so. (a) Prove that, regardless of the choices of Confucius, after finitely many moves, exactly one integer MM on the blackboard is greater than 11. (b) Prove that the value of MM does not depend on the choices of Confucius.
Step 4 of 4: Part (b): the invariant fixes M uniquely
vp(M)=gcd⁡(vp(M),0,…,0)=gcd⁡(vp(a1),…,vp(a2026)) ⟹ M=∏ppgcd⁡(vp(a1),…,vp(a2026))v_p(M)=\gcd(v_p(M),0,\ldots,0)=\gcd(v_p(a_1),\ldots,v_p(a_{2026}))\ \Longrightarrow\ M=\prod_p p^{\gcd(v_p(a_1),\ldots,v_p(a_{2026}))}
Detailed analysis

Let a1,…,a2026a_1,\ldots,a_{2026} be the initial numbers on the blackboard. At the end of the game the board consists of MM and 20252025 ones, whose pp-adic valuations are vp(M)v_p(M) and 20252025 zeros; the greatest common divisor of these terminal valuations is gcd⁡(vp(M),0,…,0)=vp(M)\gcd(v_p(M),0,\ldots,0)=v_p(M). By the invariance of step 3, this must equal the initial greatest common divisor gcd⁡(vp(a1),…,vp(a2026))\gcd(v_p(a_1),\ldots,v_p(a_{2026})) for every prime pp. Since a positive integer is uniquely determined by its pp-adic valuations across all primes pp, MM depends only on the initial numbers and not on Confucius's choices.