As already stated in title, find 7-tuples ($a_1,a_2,a_3,a_4,b_1,b_2,b_3$) of pairwise distinct positive integers such that
$$a_1^2+a_2^2+a_3^2+a_4^2=b_1^2+b_2^2+b_3^2$$
This came in RMO 2016 Delhi paper where one was asked to prove that infinite such tuples exist. I have no idea how to do so.
One approach is to find a solution by trial. We can start by finding two pairs of squares that sum to the same number, then adding in a Pythagorean triple. So $39^2+52^2=65^2=25^2+60^2$ and a solution is $3^2+4^2+39^2+52^2=5^2+25^2+60^2$. Now replace the $3^2+4^4=5^2$ with other triangles. As there are an infinite number of primitive Pythagorean triangles, this will give an infinite set of solutions that have no common factor.