0

Here's my proof:

We designate an active pool that includes precisely those integers that will be involved in the process at some point, and for which there exists at least one integer such that performing the process on the pair actually results in the changing of the set. Then we implement the following iterative process:

Choose any two arbitrary integers in the active pool and replace them by their GCD and LCM. Then, if the GCD will never be used for the process again, we remove it from the active pool. If the GCD is $1$, it is also removed from the active pool. Otherwise, it is placed in the active pool, and the process reiterates.

Clearly, this process halts in finitely many steps, as size of the active pool is reduced to nil, and thus when the numbers stop changing.

I don't think that the proof is incorrect, but it feels uneasy. So, is it actually correct?

John Doe
  • 335
  • I'm having difficulty following your proof. What convinces you that the "active pool" reduces to nil? Are there not times when it does not reduce at all? – Sridhar Ramesh Jun 04 '17 at 02:49
  • Are you claiming that the active pool will get smaller at each and every step? In that case, if you start with $n$ numbers, you should be done in at most $n$ steps,. Is that really true? – bof Jun 04 '17 at 02:49
  • @SridharRamesh What I mean is, the active pool is either reduced in size, or we have an element in the active pool with a reduced number of divisors (compared to the original elements). As the numbers have finitely many divisors, sooner or later, we will either see a reduction in the number of elements in the pool, or one of the elements becoming 1, at which point they are removed from the pool. – John Doe Jun 04 '17 at 03:43
  • You summarily state your problem in the title, but jump into "my proof" without giving a careful statement of what is to be proven, making it hard to know if you are succeeding or not. For example, the title asks about "a finite set of positive integers" but the body of the Question refers to "an active pool". Does this "pool" consist of a set? Is there an "inactive" pool? Clearly the set of positive integers cannot contain duplicates, by definition of a set, but it is unclear what rules govern the "pool". In particular you say the "size of the active pool is reduced to nil", – hardmath Jun 04 '17 at 13:07

1 Answers1

2

I don't quite follow your proof, but the claim is in fact true:

Consider the number of pairs of values (A, B) where A and B come from the (constantly being altered) multiset of values in play and such that A divides B. [I shall call these "divisibility pairs"]

I claim that in each nontrivial replacement step, this number goes up.

Proof: Suppose we choose to replace A and B by LCM(A, B) and GCD(A, B). [This is non-trivial just in case neither A nor B already divided the other].

For every other value C from the multiset, if it divided one of A and B, it also divides LCM(A, B), and if it divided both of A and B, it divides both LCM(A, B) and GCD(A, B). Similarly, if it was divisible by one of A and B, it is divisible by GCD(A, B), and if it was divisible by both of A and B, it is divisible by both of LCM(A, B) and GCD(A, B).

So the number of divisibility pairs in which any other elements from the multiset were involved do not go down. Furthermore, originally, there was no divisibility pair using just A and B, but afterwards, we have a divisibility pair using just their replacements, (LCM(A, B), GCD(A, B)). Thus, in each step, the number of divisibility pairs goes up by 1.

However, this number cannot keep rising forever (from a multiset of size $n$, there are only $n^2$ pairs to even look at). So at some point, it must no longer be possible to make any further replacements, and we are done.

A complementary way of looking at this is that the number of pairs which are NOT divisibility pairs keeps going down; it cannot go down forever, so at some point it must stop, and indeed, at that point there will be none (for each non-divisibility pair corresponds to a possible next replacement step).