What are necessary and sufficient conditions for this System to have a solution?
$x \equiv 2a_1^2(mod \ 2a_1-1)$
$...$
$x \equiv 2a_m^2(mod \ 2a_m-1)$
I know that for each $i, j$, $a_i^2 \equiv a_j^2 (mod \ gcd(2a_i-1, 2a_j-1))$
So how can i start from here and find necessary and sufficient condition for this system?