2 versions of the statement of A power in the ideal of two products of linear factors, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 2 , changes from version 1 are marked
1 unchanged paragraph
In particular, when $I=\mathbb Z$ and $\ell=p\cdot1_R$ for a prime $p$, take $w(a,b)=v_p(a-b)$ for distinct $a,b$. For a nonzero integer $n$, $v_p(n)$ is the largest nonnegative integer $k$ such that $p^k\mid n$. Under the same association hypothesis, $p^M$ lies in the displayed ideal, with $M$ computed from these weights and $p$ viewed as an element of $R$.
Version 1 , first version
Let $R$ be a commutative domain, $\ell\in R$, and $S_1,S_2$ disjoint finite subsets of a set $I$. Let $c:I\to R$ and $w:I\times I\to\mathbb N$. Assume $c_a-c_b$ is associated to $\ell^{w(a,b)}$ whenever $a\in S_1$, $b\in S_1\cup S_2$, and $a\ne b$. Set
$$
M=\max_{a\in S_1}\left(\sum_{b\in S_2}w(a,b)+
\sum_{a'\in S_1\setminus\{a\}}w(a,a')\right),
$$
with $M=0$ if $S_1$ is empty. Then, in $R[X]$,
$$
\ell^M\in\left(\prod_{a\in S_1}(X-c_a),\ \prod_{b\in S_2}(X-c_b)\right).
$$