Added: The later comment to the question requires the integers to be positive. So the following isn't A necessary condition for an example.
There is a trivial construction for even $N$: From the $2N$that there are positive integers $\{\pm1, \pm3,\ldots, \pm(2N-1)\}$ pick a subset $A$ of size $N$$a,b$ such exactly one of $k$ orthat $-k$$\prod_{i=0}^{2N-1}(a+ib)$ is in $A$a square. Differently phrased (So there are $2^N$ such choices ofdivide by $A$$b^{2N}$). Then the product, we ask for rational solutions of the integers inhyperelliptic curve $A$ equals the product of its complement$Y^2=\prod_{i=0}^{2N-1}(X+i)$.
Probably, up According to scaling, this is the only construction.a conjecture by Sander (Verified for allsee $N\le12$.Nontrivial rational points on Erdős-Selfridge curves), there are no solutions except a trivial one which does not meet your positivity requirement.