There's a list of $N$ natural numbers on the blackboard. At one step you can pick any two number, which do not divide each other. Instead of this pairs you write its gcd and lcm. Problem asks to prove that final result doesn't depend on order on which this operation applied. I guess to prove the operation is associative.
$$(4, 6, 9) \rightarrow\ (2, 12, 9) \rightarrow \ (2, 3, 36) \rightarrow \ (1, 6, 36)$$
$$(4, 6, 9)\ \rightarrow\ (4, 3, 18)\ \rightarrow\ (1, 12, 18) \rightarrow\ (1, 6, 36)$$
I figure that in the head and tail of final result list contains gcd and lcd of the whole list. However, what's going in between I didn't.
The operations $\gcd$ and $\def\lcm{\operatorname{lcm}}\lcm$ can be represented as the operations $\min$ and $\max$, respectively, on the exponents in the prime factorizations:
$$ \gcd\left(\prod_ip_i^{a_i},\prod_ip_i^{b_i}\right)=\prod_ip_i^{\min(a_i,b_i)}\;,\\ \lcm\left(\prod_ip_i^{a_i},\prod_ip_i^{b_i}\right)=\prod_ip_i^{\max(a_i,b_i)}\;. $$
When you apply $\gcd$ and $\lcm$ to two numbers, for each prime you put the lesser exponent in the $\gcd$ and the greater exponent in the $\lcm$. You still have the same exponents; they just get sorted into lesser and greater ones. By defining a suitable sorting measure, e.g. $\left|\sum_i(a_i-b_i)\right|$ summed over all pairs of numbers, and noting that it increases in every step and is bounded from above, you can show that the process terminates. Clearly it can only terminate if a total order has been reached, where for any two pairs one contains all the lesser exponents and the other all the greater exponents. It follows that when the numbers are arranged in this order, the exponents for each prime are also arranged in this order. This determines the exponents, and hence the numbers, and it follows that the terminal state is independent of the order of operations.
Thanks to Carl for suggesting this approach.
P.S.: To make this a bit more concrete, we can represent the numbers $4,6,9$ in your example by their exponents for the two primes $2$ and $3$ that occur in them. Then we start out with $(2,0)$, $(1,1)$ and $(0,2)$. Sorting the exponents in the first component yields $0,1,2$, and likewise for the second component, so the terminal vectors are $(0,0)$, $(1,1)$ and $(2,2)$, corresponding to $1,6,36$.