My motivation is the following question asked by Jacob Steiner, which he then deleted. For which $n\in\Bbb N$ is it possible to arrange $\{1,\ldots,n^2\}$ in an $n\times n$-grid so that the set of products of columns equals the set of products of rows?
The answer for $n=2$ is clearly No, since the only possibility, up to a transposition and a permutation of rows and columns, is
1 2
3 4
Since the set of products of rows are $\{2,12\}$ and the set of products of columns are $\{3,8\}$, this arrangement does not work. So for $n=2$, it is not possible to make such an arrangement.
RobPratt has answered the question for all $n\le 13$. I shall prove in this answer that when $n\ge 11$, there is no solution.
Let $\pi$ be the prime counting function. I claim is impossible to form a grid whenever $$ \pi(n^2)-\pi(\lfloor n^2/2\rfloor )>n\tag1 $$ For any $n$ such that the above is true, there are at least $n+1$ primes in the range $\{1,\dots,n^2\}$ which are more than half of $n^2$. This means for any placement of $\{1,\dots,n^2\}$ in an $n\times n$ grid, there will exist two such "big" primes, $p$ and $q$, which are in the same row. The product of that row is a multiple of $pq$. But then none of the column products can be a multiple of $pq$, so no solution exists.
Since $\pi(n)\sim n/\log n$ as $n\to\infty$, by the prime number theorem, the LHS of $(1)$ grows faster than the RHS, so $(1)$ holds when $n$ is sufficiently large. Specifically, I can prove:
Claim: $(1)$ holds whenever $n\ge e^5\approx 148.4$.
My proof uses two numerical inequalities.
For all $n\ge 17$, we have from the Wikipedia article on $\pi(n)$ that $$\frac{n}{\log n}\le \pi(n)\le \frac43\cdot \frac{n}{\log n}$$
For all $n\ge 10$, we have $$\lfloor n^2/2\rfloor \ge n^2/2-1\ge n^{3/2}.$$ The first inequality is obvious; you can check that the second inequality is true when $n=10$, and by taking the derivative with respect to $n$, you can see that the function $n^2/2-1-n^{3/2}$ is increasing for $n\in [10,\infty)$.
Proof of Claim: $$ \begin{align} \pi(n^2)-\pi(\lfloor n^2/2\rfloor ) &\stackrel{1.}\ge \frac{n^2}{\log n^2}-\frac43\cdot \frac{\lfloor n^2/2\rfloor }{\log\lfloor n^2/2\rfloor} \\&\stackrel{2.}\ge \frac{n^2}{\log n^2}- \frac43\cdot \frac{ n^2/2}{\log n^{3/2}} =\frac{n^2}{18\log n} \end{align} $$ In order to have $\frac{n^2}{18\log n}>n$, it suffices to have $\frac{n}{\log n}>18$. It is easy to check that $\frac{n}{\log n}>18$ holds when $n= e^5$. Since $\frac{n}{\log n}$ is increasing for $n>e$, it holds whenever $n\ge e^5$ as well. $\square$
Finally, you can check with the help of a computer that $(1)$ holds for all $n$ in the range $[11,148]$. Combined with my claim, this completes the proof that no solution exists when $n\ge 11$. For example, the following Mathematica code returns
True: