\documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{lmodern,microtype,amsmath,amssymb,amsthm,booktabs} \usepackage[letterpaper,hmargin=1.04in,top=.85in,bottom=.88in]{geometry} \usepackage{xcolor} \definecolor{linkblue}{HTML}{14568A} \newcommand{\papertitle}{Prime Lambert sums at powers of one base} \usepackage[colorlinks=true,allcolors=linkblue,pdfauthor={twinheterodox}, pdftitle={\papertitle},pdfsubject={Linear independence and irrationality of prime Lambert sums}]{hyperref} \newtheorem{theorem}{Theorem} \newtheorem{corollary}[theorem]{Corollary} \newtheorem{lemma}[theorem]{Lemma} \newcommand{\E}{\mathbb E} \newcommand{\PP}{\mathcal P} \newcommand{\Q}{\mathbb Q} \newcommand{\Z}{\mathbb Z} \newcommand{\ind}{\mathbf 1} \newcommand{\dist}{\operatorname{dist}} \newcommand{\Var}{\operatorname{Var}} \setlength{\emergencystretch}{1.2em} \title{\Large\bfseries\papertitle} \author{twinheterodox\\[-1pt]{\small Prepared with Codex}} \date{November 29, 2026} \begin{document} \maketitle \begin{abstract} Let \(P\) be any infinite set of primes and put \(L_P(b)=\sum_{p\in P}(b^p-1)^{-1}\) for integers \(b\ge2\). We prove that \(1,L_P(b),L_P(b^2),L_P(b^3),\ldots\) are linearly independent over \(\Q\). More generally, finitely many powers of the base may carry different bounded integer weights at every prime. Their sum is rational precisely when only finitely many pairs of powers and primes have nonzero weight. Our criterion for prime-divisor sums allows a different weight at each prime, with a common period. It also proves joint independence for sums with distinct cyclotomic denominators, including \(b^p-1\), \(b^p+1\), and \(b^{2p}+b^p+1\). As a special case, we obtain an elementary proof of Tao and Ter\"av\"ainen's theorem that Erd\H{o}s's prime sum \(\sum_p(2^p-1)^{-1}\) is irrational. \end{abstract} \section{A question about two bases} For an infinite set \(P\) of primes and an integer \(x\ge2\), write \(L_P(x)=\sum_{p\in P}(x^p-1)^{-1}\). Consider two values of this function, \[ L_P(2)=\sum_{p\in P}\frac1{2^p-1}, \qquad L_P(4)=\sum_{p\in P}\frac1{4^p-1}. \] The denominators are related at every prime. In particular, \[ L_P(2)-2L_P(4)=\sum_{p\in P}\frac1{2^p+1}. \] Both \(L_P(2)\) and \(L_P(4)\) are known to be irrational \cite[Theorem~1.1]{jha}. Could this difference, or any other nontrivial rational linear combination of the two, be rational? The following theorem answers this even when the primes used at the two bases differ. \begin{theorem}\label{thm:powers} Fix an integer \(b\ge2\) and a finite set \(I\) of distinct positive integers. For \(j\in I\) and primes \(p\), let \(a_{j,p}\) be uniformly bounded integers. Then \[ \sum_{j\in I}\sum_p \frac{a_{j,p}}{b^{jp}-1}\in\Q \quad\Longleftrightarrow\quad a_{j,p}=0\ \text{for every \(j\in I\) and all sufficiently large \(p\)}. \] \end{theorem} For instance, take \(a_{j,p}=a_j\ind_{p\in P_j}\). Clearing the denominators of a proposed rational relation gives the following consequence. \begin{corollary}\label{cor:powers} Fix an integer \(b\ge2\) and choose an infinite set of primes \(P_j\) for each \(j\ge1\). The numbers \(1,L_{P_1}(b),L_{P_2}(b^2),L_{P_3}(b^3),\ldots\) are linearly independent over \(\Q\). In particular all \(P_j\) may be the same set. \end{corollary} \newpage Erd\H{o}s asked about the unweighted sum over all primes \cite[p.~222]{erdos}. Pratt proved its irrationality conditional on a prime tuples conjecture \cite[Theorem~1.3]{pratt}. Tao and Ter\"av\"ainen proved it unconditionally at base two and described the extension to every positive integer base \(b\ge2\) \cite[Theorem~1.3 and the discussion after it]{tt}. Taking \(b=2\), \(I=\{1\}\), and \(a_{1,p}=1\) for every prime in Theorem~\ref{thm:powers} gives an elementary proof of their base-two result. Jha's criterion for additive functions gives the case of a single base with arbitrary bounded integer prime weights \cite[Theorem~1.1]{jha}. The opening difference illustrates the extra difficulty. Discard the prime two and take any odd \(p\in P\). In the expansion in powers of \(1/2\), the coefficients at \(2,p,2p\) are \(0,1,-1\), so coprime additivity fails. Duverney and Tachiya proved joint independence at powers of two for Lambert sums over all squarefree exponents \cite[Corollary~1.2 and Example~1.1]{dt}. Here the primes and their weights at each power can be chosen independently. We formulate a criterion for the coefficients of \(b^{-n}\). Choose an integer \(D\ge1\). To each prime \(p\) assign a function \(c_p:\Z/D\Z\to\Z\). Write \[ F(n)=\sum_{p\mid n}c_p(n),\qquad \PP=\{p:c_p\text{ is not identically zero}\}. \] Thus a given prime contributes only at its multiples, and its contribution can vary with the residue of the multiple. Assume that \(\sup_{p,r}|c_p(r)|<\infty\). Since \(|F(n)|\ll\log(2n)\), the series below converges absolutely. \begin{theorem}\label{thm:periods} For integers \(b\ge2\) and \(D\ge1\), and for the bounded integer functions \(c_p\) above, \(\sum_{n\ge1} F(n)b^{-n}\) is rational if and only if \(\PP\) is finite. \end{theorem} \begin{proof}[Deduction of Theorem~\ref{thm:powers}] We may take \(I\) nonempty and put \(D=\operatorname{lcm}_{j\in I}j\). The finitely many primes dividing \(D\) give rational contributions. For \(p\nmid D\), the coefficient of \(b^{-n}\) in \(1/(b^{jp}-1)\) is \(\ind_{p\mid n}\ind_{j\mid n}\). Take \[ c_p(r)=\sum_{\substack{j\in I\\j\mid r}}a_{j,p} \quad(p\nmid D),\qquad c_p=0\quad(p\mid D). \] If a column \((a_{j,p})_{j\in I}\) is nonzero, let \(j_0\) be its smallest index with \(a_{j_0,p}\ne0\). Then \(c_p(j_0)=a_{j_0,p}\). The prime sets in the two finiteness criteria therefore agree up to the primes dividing \(D\). Apply Theorem~\ref{thm:periods}. \end{proof} Section~\ref{sec:cyclotomic} gives an application that uses all the residues modulo \(D\). For instance, one may independently select the primes used in the three sums with denominators \(2^p-1\), \(2^p+1\), and \(4^p+2^p+1\). If each set is infinite, the three sums together with \(1\) are linearly independent. \paragraph{How the proof uses the prime set.} If \(\sum_{p\in\PP}1/p<\infty\), we can prescribe residues at more and more primes while losing arbitrarily little on average at the other primes. Changing the residue at one large prime will give a nonzero difference smaller than the spacing between integers. This adapts the residue argument for signed Lambert sums \cite[\S2]{sparse}. For the special sums in Theorem~\ref{thm:powers}, the convergent case also follows from the signed reciprocal-summability theorem \cite[Theorem~1]{sparse}. Erd\H{o}s proved the unit-coefficient case for pairwise coprime exponents of finite reciprocal sum and stated that coprimality could be dropped \cite[p.~222]{erdos}. Cook proved this extension \cite[Appendix~A]{cook}. When \(\sum_{p\in\PP}1/p=\infty\), we combine integer tails as in Tao--Ter\"av\"ainen \cite[\S5]{tt}. At base two, four depths give each tail a factor \(1/16\). A shifted integer of size \(O(X)\) has \(O(1)\) prime divisors above \(X^{1/16}\). Counting them gives an \(O(1)\) error bound with the binary cube's sixteen tails per block. Our twelve tails give \(O((12/16)^g)\) after \(g\) blocks. We choose the sampling interval so the remaining primes contribute variance near \(1/12\), however slowly the reciprocal sum diverges. The second and fourth moments then rule out concentration near the integers. \section{Changing one prime residue} If \(\PP\) is finite, then \(F\) is periodic and its series is rational by geometric summation. For the rest of the proof suppose that \(\PP\) is infinite and the series rational. Multiply all the \(c_p\) by a common positive integer to make the series an integer, and let \(J=\sup_{p,r}|c_p(r)|\) after this normalization. For every \(n\ge0\) divisible by \(D\), its tail \begin{equation}\label{eq:tails} T(n)=\sum_{k\ge1}b^{-k}\sum_{p\mid n+k}c_p(k) \end{equation} is an integer. Indeed, multiply the original series by \(b^n\) and subtract its finite integer prefix. Assume first that \(\sum_{p\in\PP}1/p<\infty\). The contribution of prime \(p\) to a tail starting at \(n\equiv r\bmod p\) is \[ G_p(r)=\sum_{\substack{k\ge1\\k\equiv-r\bmod p}}c_p(k)b^{-k}. \] The all-zero prescription gives \(T(0)\). We will change its residue at a single prime \(p_0\nmid D\). No integer has a nonzero residue there and residue zero at all the other active primes. We approximate these residues on finite sets of primes to prove that in both cases \begin{equation}\label{eq:grid} \sum_p G_p(r_p)\in\Z . \end{equation} The series converges absolutely because \(|G_p(0)|\le J/(b^p-1)\). Fix \(U>\max(D,p_0)\). Use the Chinese remainder theorem to sample \(NU\) is coprime to \(W_U\) and divides \(n+k\) with probability \(1/p+O(W_U/N)\), uniformly in \(k\). Let \(A(x)=\#\{p\in\PP:p\le x\}\). The reciprocal summability gives \(A(x)=o(x)\), since \(A(x)/x\le A(y)/x+\sum_{yU\\p\in\PP}}\frac1p+ O\!\left(\frac{W_U A(3N)}{N}\right)\right). \] For \(k>N\), the full absolute bound \(O_J(\sum_{k>N}b^{-k}\log(2N+k))\) tends to zero. First let \(N\to\infty\) with \(U\) fixed. The distance of the finite constant from \(\Z\) is bounded by the remaining reciprocal tail times \(J/(b-1)\). Letting \(U\to\infty\) proves \eqref{eq:grid}. Take an arbitrarily large \(p\in\PP\) coprime to \(D\) and choose \(\lceil p/2\rceil\le h<\lceil p/2\rceil+D\) with \(c_p(h)\ne0\). For \(p>2D+2\) we have \(hH\). Choose \(n_0\equiv0\bmod D,\ n_0\equiv B_u\bmod q_u^2\) for every \(u\). Let \(W\) be \(D\prod_u q_u^2\) times the product of the positive differences between all distinct retained shifts. Work on \(n\equiv n_0\bmod W\). For every large enough \(n\) on this progression, \(m_u=(n-B_u)/q_u\) is a positive multiple of \(q_u\) and \(D\). Both \(m_u+k\) and \(q_u(m_u+k)=n+r_{u,k}\) are congruent to \(k\bmod D\). Consequently the weights match even when they vary with the prime, and \[ F(n+r_{u,k})-F(m_u+k) =\sum_{p\mid q_u} c_p(k)\bigl(1-\ind_{p\mid k}\bigr). \] The right side is fixed on the progression. By \eqref{eq:tails}, each tail at \(m_u\) is an integer. The first \(K\) depths of the signed sum of the dilated tails vanish by Lemma~\ref{lem:config}, since at each depth the argument of \(F\) depends only on \(ku-v\). Consequently there is a fixed \(\beta\in\mathbb R\) such that on this progression \begin{equation}\label{eq:signed-tail} \sum_{k>K} b^{-k}\sum_u \sigma_u F(n+r_{u,k}) \equiv\beta\pmod 1. \end{equation} For \(p\nmid W\), at most one retained shift vanishes after adding any residue \(n\bmod p\), so squaring produces no cross terms. The signs sum to zero at each depth. Under a uniform residue the prime's contribution therefore has mean zero and variance \(\lambda B_p/p\), where \[ \lambda=s b^{-2K},\qquad B_p=\sum_{h=1}^H b^{-2h}c_p(K+h)^2. \] When \(H\ge D\), the first \(D\) retained depths meet every residue modulo \(D\), so \[ b^{-2D}\le B_p\le J^2/(b^2-1)\quad (p\in\PP), \qquad B_p=0\quad(p\notin\PP). \] An integer \(z\) satisfies \(z^2\le z^4\). We will keep finitely many primes and depths in \eqref{eq:signed-tail} and compare two independent samples of this truncated sum. When its variance tends to \(\nu\), the second moment of their difference minus its fourth moment has lower bound \(2\nu-12\nu^2+o(1)\). Any \(0<\nu<1/6\) gives a contradiction, and \(1/12\) maximizes the margin. Fix \(g\) large enough that \(H\ge D\) and take \(R\) to be the first prime for which \begin{equation}\label{eq:crossing} V=\lambda\!\!\sum_{\substack{p\le R\\p\nmid W}}\frac{B_p}{p} \ \ge\ \nu,\qquad \nu=\frac1{12}, \qquad X=R^{16}. \end{equation} For each such \(g\), \(B_p\ge b^{-2D}\) on \(\PP\), and omitting the finitely many primes dividing \(W\) preserves the divergence of \(\sum_{p\in\PP}1/p\). Thus \(R\) exists. The last variance increment is \(O_{b,J}(\lambda)\), so \(V=\nu+o(1)\) as \(g\to\infty\). The scale \(X=R^{16}\) allows a fourth-moment comparison with error \(O(WR^8/X)\). The two bounds on \(B_p\) give \begin{equation}\label{eq:mass} \sum_{\substack{p\le R,\ p\in\PP\\p\nmid W}}\frac1p\ll_{b,D}\lambda^{-1}, \qquad \log\log R\gg_{b,J}\lambda^{-1}. \end{equation} For the second inequality use the elementary Mertens estimate \(\sum_{p\le x}1/p=\log\log x+O(1)\). There is no lower bound on the proportion of primes that belong to \(\PP\). The interval \((X,2X]\) now contains enough points in our progression. Indeed, there are at most \(s^2\) factors in the product defining \(A\). The size of \(u\) in Lemma~\ref{lem:config} gives \(\log A\le\exp(O_D(K))\). The same bound holds for \(\log(2+q_u+|B_u|)\) and then for \(\log W\), since it uses at most \((sH)^2\) differences. On the other hand, \(\lambda^{-1}=(b^8/12)^g\) grows exponentially in \(K\). By \eqref{eq:mass}, \(W=R^{o(1)}\), and all the \(q_u,|B_u|\) are \(R^{o(1)}\). These estimates need no upper bound on \(R\). \section{Four moments distinguish the remaining tails} Choose \(n\) uniformly in \((X,2X]\) on the prescribed progression. Remove the terms from \(p\mid W\) at all depths \(k>K\). They contribute a constant because both their divisibility and their weights \(c_p(k)\) are fixed. For \(p>R\), every shifted integer \(n+r_{u,k}\) is positive and at most \((k+2)X\). It has at most \(16(1+\log(k+2)/\log X)\) such prime factors. Summing this bound against the absolute weights at all \(k=K+h,\ h\ge1\), costs \[ O_{b,J}\!\left(s b^{-K}\left(1+\frac{\log(K+3)}{\log X}\right)\right)=o(1) \] uniformly in \(n\), since \(s b^{-K}\le(3/4)^g\). It remains to truncate the small primes at \(h=H\). For every \(p\le R\) outside \(W\), one residue in the progression gives \(\Pr(p\mid n+r)=1/p+O(W/X)\), uniformly in the shift \(r\). Summing over the active primes using \eqref{eq:mass}, the expected absolute error from the depths \(h>H\) is at most \[ O_{b,D,J}\!\left(s b^{-K-H}\left(\lambda^{-1}+RW/X\right)\right)=o(1). \] Indeed \(s b^{-K-H}\lambda^{-1}=b^{K-H}\). Counting only active primes in this estimate allows the cutoff to grow arbitrarily fast for a thin prime set. Write \[ T_1(n)=\sum_{\substack{p\le R\\p\nmid W}} X_p(n),\qquad X_p(n)=\sum_{h=1}^H\sum_u \sigma_u b^{-K-h}c_p(K+h) \ind_{p\mid n+r_{u,K+h}} . \] The fixed residue of the full signed sum and the two error bounds give some \(\alpha\), independent of \(n\), such that \(\E\dist(T_1(n)-\alpha,\Z)=o(1)\). For comparison take independent uniform residues \(U_p\bmod p\), and put \(Z_p=X_p(U_p)\), \(T_*=\sum Z_p\) over the same primes. The sum of the signs vanishes at each depth, and at most one retained term contributes at any residue. Thus \[ \E Z_p=0,\quad |Z_p|\le Jb^{-K-1},\quad \E Z_p^2=\lambda B_p/p. \] By \eqref{eq:crossing}, \(\E T_*^2=V\to\nu\). Expanding the fourth moment and using independence gives \[ \E T_*^4=\sum_p \E Z_p^4+6\sum_{p