A bound for the sum of prime-adic valuations in an interval
Let $\ell$ be prime, $a\in\mathbb Z$, $L,D\ge0$ integers, and $S\subseteq\mathbb Z\cap[a,a+L)$ a finite set with $0\notin S$ and $|s|\le D$ for every $s\in S$. Then $$\sum_{s\in S}v_\ell(s)\le\frac{L}{\ell-1}+\log_\ell D.$$
For nonzero integers, $v_\ell$ is the nonnegative exponent of $\ell$. $\log_\ell0$ is defined to be zero, covering the empty set when $D=0$.