Question. Do there exist two multisets $A, B$ consisting of positive integer numbers such that $|A|$ and $|B|$ have different parity and $$ \prod_{n\in A}(n + \sqrt{n^2 + 1}) = \prod_{m\in B}(m + \sqrt{m^2 + 1})? $$
Thoughts. The parity condition is essential, e.g., $(1 + \sqrt{2})^3 = 7 + 5\sqrt{2} = 7 + \sqrt{7^2 + 1}$.
If $\sqrt{n^2 + 1} = m\sqrt{d}$ with square-free $d$ then $n^2 - dm^2 = -1$, i.e., $(n, m)$ is a solution of a negative Pell's equation and it can be represented as $$ n + \sqrt{n^2 + 1} = n + m\sqrt{d} = (n_d + m_d\sqrt{d})^{2k + 1}, $$ where $(n_d, m_d)$ is a fundamental solution of Pell's equation and $k$ is a non negative integer. This means that in the initial equation one can consider only multipliers of the form $n_d + \sqrt{n_d^2 + 1}$.
Almost equivalent question. Let $D$ be a set of integers $d$ such that the negative Pell's equation $n^2 - dm^2 = -1$ is solvable. Can a real number $x$ have two different representations of the form $$ x = \prod_{d_i\in D}(n_{d_i} + m_{d_i}\sqrt{d})^{\alpha_i}, \qquad \alpha_i\in \mathbb{Z}_+. $$