4. Let's say a set of positive integers is square if it is non-empty, finite, and the product of all its elements is a square of an integer. Prove that the set has exactly square subsets.
(Josef Tkadlec)
4. Let's say a set of positive integers is square if it is non-empty, finite, and the product of all its elements is a square of an integer. Prove that the set has exactly square subsets.
(Josef Tkadlec)
Solution. We know that a natural number is a square if and only if each prime number in its prime factorization appears an even number of times. The prime numbers in the set form the set , and the remaining 12 numbers (1 and the composite numbers) form the set
Since no square subset of the set can consist entirely of elements from , it must contain at least one number from .
Let's explain why, on the other hand, from the non-empty subsets of the set , each can be uniquely supplemented with primes from to form a square set (or it is not necessary or possible to add any prime from if the set is already square). This follows from the fact that for a given non-empty subset , the supplementary primes from must be exactly those that appear an odd number of times in the prime factorization of the number equal to the product of the elements of . The square sets thus created, in the number (=4095), are clearly distinct (since each has a different intersection with the set ), so the number of all square subsets of the set is indeed equal to , as we were to prove.