\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,booktabs} \usepackage[letterpaper,hmargin=1in,top=.82in,bottom=.82in]{geometry} \usepackage{xcolor} \definecolor{linkblue}{HTML}{14568A} \newcommand{\papertitle}{Lambert sums over products of distinct primes} \usepackage[colorlinks=true,allcolors=linkblue,pdfauthor={twinheterodox}, pdftitle={\papertitle},pdfsubject={Irrationality and linear independence of Lambert sums indexed by the number of prime factors}]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\Q}{\mathbb Q} \newcommand{\Z}{\mathbb Z} \newcommand{\E}{\mathbb E} \newcommand{\Prob}{\mathbb P} \newcommand{\rad}{\operatorname{rad}} \newcommand{\dist}{\operatorname{dist}} \setlength{\emergencystretch}{1.1em} \title{\Large\bfseries\papertitle} \author{twinheterodox\\[-1pt]{\small Prepared with Codex}} \date{December 1, 2026} \begin{document} \maketitle \begin{abstract} The sum of \(1/(2^{pq}-1)\) over all unordered pairs of distinct primes \(p,q\) is irrational. More generally, for each integer base \(b\ge2\), let \(S_j(b)\) be the sum of \(1/(b^m-1)\) over squarefree integers \(m\) with exactly \(j\) prime factors. We prove that \(1,S_1(b),S_2(b),\ldots\) are linearly independent over \(\Q\). Equivalently, if \(\omega(n)\) counts the distinct prime divisors of \(n\), then \(\sum_{n\ge1}P(\omega(n))b^{-n}\) is irrational for every nonconstant rational polynomial \(P\). \end{abstract} \section{Letting both primes vary} Erd\H{o}s and Graham asked whether the sum of \(1/(2^m-1)\) over an arbitrary infinite set of positive integers \(m\) is irrational \cite[p.~62, (iii)]{eg}. This question remains open in general (\href{https://www.erdosproblems.com/257}{Erd\H{o}s Problem~257}). For integers \(b\ge2\) and \(j\ge1\), let \(S_j(b)\) be the sum of \(1/(b^m-1)\) over all \(m\) that are products of exactly \(j\) distinct primes. Even the case of prime exponents was a longstanding question of Erd\H{o}s. Tao and Ter\"av\"ainen proved that the prime sum \(S_1(2)=\sum_{p\ \mathrm{prime}}1/(2^p-1)\) is irrational \cite[Theorem~1.3]{tt}. What happens when each exponent is a product of two distinct primes? We prove that the sum of \(1/(2^{pq}-1)\) over all pairs of primes \(p1\) and zero for \(n=1\). The regrouping is absolute since each squarefree exponent occurs once. Cook uses the same identity to group exponents by parity \cite[\S11]{cook}. Every nonempty finite truncation is irrational by Theorem~\ref{thm:main}, even with arbitrary nonzero rational coefficients. \paragraph{Why force many primes at one place?} Suppose a position in the base-\(b\) series has \(T\) prescribed prime divisors and \(Y\) others. Its pair count is \begin{equation}\label{eq:pairs} \binom{T+Y}{2}=\binom{T}{2}+TY+\binom{Y}{2}. \end{equation} Each extra prime pairs with all \(T\) prescribed primes. A large \(T\) offsets the small weight \(b^{-k}\) at position \(k\). For a polynomial \(P\) of degree at least two the growing slope \(P'(T)\) plays the same role. Discarding \(m\) terms and multiplying the remainder by \(b^m\) gives a shifted tail. Rationality gives all such tails a common denominator. We use the signed tails of \cite[\S3, Lemma~4]{powers} to cancel the first \(K\) positions by matching numerators and equalizing the number of distinct primes lost in division. At one surviving position we prescribe \(T\) primes. Under rationality the amplified term, up to a shift common to all samples, would approach the integers in mean distance as \(K\) grows. Subtracting two independent samples cancels the shift, so their difference must also approach the integers. We choose \(T\) so that the limiting second moment of this difference exceeds its limiting fourth moment. Section~\ref{sec:detect} turns that excess into a positive lower bound for the mean distance from the integers. \section{Cancelling the early positions}\label{sec:cancel} \paragraph{Proof of Theorem~\ref{thm:main}.} Fix an integer \(b\ge2\). For \(P(x)=ax+c\) with \(a\ne0\) and \(a,c\in\Q\), equation~\eqref{eq:divisors} gives \(\sum_{n\ge1}P(\omega(n))b^{-n}=aS_1(b)+c/(b-1)\), which is irrational by the prime case. Now let \(P\in\Q[x]\) have degree \(d\ge2\) and suppose that its series is rational. Multiplying \(P\) by a nonzero integer, we can assume that \(P\in\Z[x]\), its leading coefficient \(c_d\) is positive, and the series itself is an integer. For each integer \(m\ge0\) the tail \begin{equation}\label{eq:tails} \mathcal T(m)=\sum_{k\ge1} b^{-k}P(\omega(m+k)) \quad\text{belongs to }\Z. \end{equation} Indeed, it differs from \(b^m\mathcal T(0)\) by an integer. Integer tails and signed differences of shifts also enter the proof of Tao and Ter\"av\"ainen \cite[\S5]{tt}. If each cancellation doubled the number of tails, cancelling \(K\) positions would give \(2^K\) tails, exhausting the factor \(2^{-K}\) at base two. The next lemma uses twelve tails per block of four positions. Taking \(K=4g\) and \(s=12^g\) gives \(s b^{-K}\le(12/16)^g\to0\). We retain the positions from \(K+1\) through \(J=K+K^2\). Index the tails by integer pairs \((u,v_u)\). We will choose positive integers \(a,A\) common to all tails and let \(n\) vary in a residue class that makes every starting point \(m_u\) integral. Then \[ m_u=\frac{n-Av_u}{a+Au},\qquad m_u+k=\frac{n+ka+A(ku-v_u)}{a+Au}. \] At a fixed depth \(k\), equal values of \(ku-v_u\) give the same numerator. Through depth \(K\) we balance the signs on each common numerator. Once division removes the same number of distinct primes, the corresponding terms cancel. At each retained depth we need distinct numerators. Lemma~\ref{lem:balance} will also separate different depths, so we can prescribe primes at just one surviving term. \begin{lemma}[{\cite[Lemma~4]{powers}}]\label{lem:array} There are \(s\) integer pairs \((u,v_u)\) with distinct nonnegative \(u\), \(0\le v_u\le Ku\), and signs \(\sigma_u\in\{-1,1\}\). They include \((0,0)\) of sign \(+1\), and \(\log(2+\max u)=O(K\log(2K))\). For each \(1\le k\le K\) the signs sum to zero on each fiber of \(u\mapsto ku-v_u\). For each \(K1\), offsets \(B_u\ge0\), an integer \(M\), and a nonempty residue class of \(n\) modulo \(W_0=\prod_u q_u\rad(q_u)\), with the following properties. \begin{enumerate} \item Each \(m_u=(n-B_u)/q_u\) is an integer. For \(n>\max B_u\) and \(1\le k\le K\), one has \(\omega(m_u+k)=\omega(n+\rho_{u,k})-M\). At each such \(k\) the values of \(\rho_{u,k}\) are equal on each fiber in Lemma~\ref{lem:array}. \item All \(\rho_{u,k}\) with \(KJ\) and it exceeds every absolute difference \(|u-w|\) and \(|k(u-w)-v_u+v_w|\) for \(k\le J\). Put \(A=D!\) and seek \(q_u=a+Au,\ B_u=A v_u\) with \(a\equiv1\bmod A\). Thus \(\rho_{u,k}=ka+A(ku-v_u)\), giving the required fibers at fixed \(k\). Also \(\rho_{u,k}\equiv k\bmod A\), which separates distinct positions \(k\le J\). Each \(q_u\) has all its prime factors above \(D\). A common prime factor of \(q_u,q_w\) would divide \(u-w\), so the dilations are pairwise coprime. We need enough prime factors in each \(q_u\) to equalize their contributions at \(K\) different positions. Set \(M=s^2\). For each \(u\) reserve \(M\) primes \(r>D\), disjoint across \(u\), and impose \(a\equiv-Au\bmod r\). Let \(V\) be \(A\) times the product of all reserved primes. The Chinese remainder theorem (CRT) gives one class for \(a\bmod V\), and exactly the \(M\) primes reserved for \(u\) among the primes of \(V\) divide \(q_u\). We may take the first \(sM\) primes after \(D\). By Bertrand's postulate the last is at most \(2^{sM}(2D)\), so \(\log V\le\exp(O(K\log(2K)))\). This bound also uses \(\log(D!)\le D\log D\) and the size bound of Lemma~\ref{lem:array}. Take \(Z=V^4\) and sample \(a\) uniformly from its class in \((Z,2Z]\). Then \(q_u\le3Z\). For \(p\nmid V\), divisibility of \(a+Au\) selects one residue of the progression index modulo \(p\), so its probability is \(1/p+O(V/Z)\). Summing to \(Z^{1/4}\) and allowing at most five larger prime factors per \(q_u\) gives \[ \E\big(\omega(q_u)-M\big)\ll 1+\log\log Z\ll K\log(2K). \] Here we used the prime harmonic sum \(\sum_{p\le x}p^{-1}=\log\log x+O(1)\). Fix an \(a\) for which the sum over \(u\) of the nonnegative excesses \(e_u=\omega(q_u)-M\) is \(O(sK\log(2K))\). Thus \(K e_u\le M\) for every \(u\) once \(K\) is large. For each \(u\), assign \(e_u\) different prime factors of \(q_u\) to each \(k=1,\ldots,K\), with disjoint assignments. Choose \(t_u\) modulo \(\rad(q_u)\), the product of the distinct prime factors of \(q_u\). Give it residue \(-k\) at the primes assigned to \(k\), and residue zero at the unassigned primes. To prescribe the quotient \((n-B_u)/q_u\) modulo every prime dividing \(q_u\), we lift the congruence for \(n\) from modulus \(q_u\) to modulus \(q_u\rad(q_u)\). Impose \begin{equation}\label{eq:balancecrt} n\equiv B_u+q_u t_u\pmod{q_u\rad(q_u)}\qquad\text{for every }u . \end{equation} The moduli are coprime. Now \(m_u\equiv t_u\bmod\rad(q_u)\). All these primes exceed \(J\), so exactly \(e_u\) of them divide \(m_u+k\) at each early \(k\). Multiplication by \(q_u\) adds \(\omega(q_u)-e_u=M\) distinct primes there. This proves the first assertion. At a retained \(k\) the same rule gives \(\gcd(m_u+k,q_u)=1\). For a prime \(r\mid q_w\), \(w\ne u\), reduce \(n+\rho_{u,k}\) modulo \(r\). Equation~\eqref{eq:balancecrt} gives \(n\equiv Av_w\), and \(a\equiv-Aw\), so the residue is \(A[k(u-w)-v_u+v_w]\). The bracket is nonzero by retained separation in Lemma~\ref{lem:array}, and its absolute value is less than \(D