Using pigeon hole principle prove that:
a) among 17 positive integers solely consisting of prime factors 2,3,5,7 product of two of them is a perfect square
b) among 49 positive integers solely consisting of prime factors 2,3,5,7 product of four of them is 4th power of a positive integer.
Please judge my solution for part a: because we have more than 2 numbers and hence more than 2 different powers for each prime in each number,so certainly there are at least 2 odd or 2 even powers for each prime in 17 numbers,so the product of such numbers is certainly perfect square.
By the way,I have no solution for part b.
Solution for b): For a solution we will use a). Say a pair of numbers $x,y$ is good if their product is a perfect square.
From $49$ numbers take any $17$ numbers, then we have a good pair $a_1,a_2$ among them.
Now from the rest of the $47$ numbers take any $17$ numbers, then we have a good pair $a_3,a_4$ among them.
Now from the rest of the $45$ numbers take any $17$ numbers, then we have a good pair $a_5,a_6$ among them.
and so on. We repeat this process until we get last good pair $a_{33},a_{34}$ (and we are left wit $15$ numbers so that we can't repeat the process).
Now calculate their products $b_i:=a_{2i-1}a_{2i}$. So we have $17$ perfect squares $b_1,b_2,...b_{17}$. Each $b_i$ we can write like this
$$b_i = 4^x 9^y 25^z 49^t$$
Again we assign to each $b_i$ $4$-tuple $(x',y',z',t')$ where $w'$ is remainder of $w$ modulo $2$. Again two of the $b_i$ must have the same $4$-tuple, since we have $17$ numbers and only $16$ $4$-tuples. So, their product is perfect $4$-power.