Plectis

Expository paper

Why certain sums of 1/(2n−1) are irrational

Summary. Erdős asked whether infinitely many of the fractions 1, 1/3,1/7,1/15, …, each of the form 1/(2n−1) and each used at most once, can ever add up to a fraction. The paper proves that the chosen fractions add up to an irrational number whenever 1/n, added up over the chosen exponents n, is finite; for the exponents 2, 4, 8, 16, … this makes 1/3+1/15+1/255+1/65535+… irrational. Sections 1 to 8 explain the proof with examples; Appendix A supplies supporting details and formal-proof correspondence. The finite reconstruction here is an ordinary proof; the linked Lean and Comparator receipts establish the formal theorem and its own proof. For an arbitrary infinite choice the question is still open.

This paper covers an account of Theorem A.1 of the #257 short paper at base 2 for a reader new to the problem: a guided proof through worked examples, with supporting details, exercises and the formal-proof correspondence in appendices.

It does not establish the validity of the Lean theorem it quotes, which belongs to the cited kernel-checked source, or a solution to Erdős #257, which remains open.

In this paper

The question: which infinite sums are irrational?

Every finite sum of fractions is a fraction. An infinite sum can be one too:

12+14+18+⋯=1.

Now consider

S=13+115+1255+165535+…,

where the denominators are 22−1,24−1,28−1,216−1,…. The exponents double at each step. We will prove that this sum cannot equal any fraction.

Multiply by 255, the third denominator:

255S=85+17+1+25565535+…=103+1257+….

The first three terms have become the integer 103, leaving a positive remainder. If S=p/q, with integers p,q and q>0, multiplying by an integer and subtracting an integer leaves an integer multiple of 1/q. A positive remainder must therefore be at least 1/q. We will repeat the construction to make the whole remainder smaller than this fixed gap, whatever denominator q is proposed.

This example belongs to a larger family. Its fractions are obtained by taking a power of 2, subtracting 1, and taking the reciprocal:

exponent n

1 2 3 4 5 6 …
2n 2 4 8 16 32 64 …
denominator 2n−1 1 3 7 15 31 63 …
term 1/(2n−1) 1 13 17 115 131 163 …

Choose infinitely many of these terms, each at most once, and add them. Choosing the terms is equivalent to choosing a set A of positive integer exponents. The opening example uses A={2,4,8,16,…}; choosing all even exponents instead gives

A={2,4,6,8,…}:13+115+163+1255+….

The exponent 0 is excluded, since 20−1=0. We write

SA=∑n∈A12n−1.

The symbol ∑n∈A means that we add the terms whose exponents belong to A, taking those exponents in increasing order. A partial sum stops after finitely many selected terms. Here irrational means that SA cannot equal p/q for integers p,q with q>0.

For the geometric series at the start, the partial sums are

number of terms N

1 2 3 4
12+⋯+12N 12 34 78 1516
gap to 1 12 14 18 116

In general the partial sum is 1−2−N. Its gap to 1 tends to zero, which is precisely the assertion 12+14+18+⋯=1.

Every series SA converges: for n≥1,

0<12n−1≤12n−1,∑n=1∞12n−1=2.

The inequality follows from 2n−1≥2n−1. Consequently the partial sums of SA increase and are bounded by 2. A basic property of real numbers says that an increasing, bounded sequence has a finite limit (Appendix A.1). The issue is whether this limit is rational.

Erdős’s question and the theorem

In a 1988 account, Erdős wrote [3] (excerpt):

“let n1<n2<…. Is it then true that ∑12nk−1 is irrational, …”

The indices k=1,2,… count the chosen exponents nk. In these terms, we prove:

Theorem 1. Let n1<n2<… be an infinite sequence of positive integers. If ∑k=1∞1/nk<∞, then

∑k=1∞12nk−1

is irrational.

Taking A={n1,n2,…}, this series is exactly SA, and the additional hypothesis is exactly ∑n∈A1/n<∞. The question for arbitrary infinite A remains open [4].

The condition concerns the reciprocals of the exponents. The conclusion concerns the fractions with denominators 2n−1. For the doubling exponents, the distinction is visible in one table:

chosen exponent n

2 4 8 16 …
term in the hypothesis, 1/n 12 14 18 116 …
term in SA, 1/(2n−1) 13 115 1255 165535 …

The second row sums to 1. The theorem therefore says that the third row sums to an irrational number. The hypothesis is an additional restriction on A; it is not needed merely to make SA converge.

We will use the hypothesis in this form: beyond a sufficiently large exponent, the remaining reciprocals 1/n together add up to less than any positive target we specify. This remaining sum is called a tail.

The square exponents A={1,4,9,16,…} also satisfy the condition. Indeed, for m≥2,

1m2<1m(m−1)=1m−1−1m,

so the comparison sum cancels:

(1−12)+(12−13)+(13−14)+⋯+(1N−1−1N)=1−1N<1.

Thus ∑m=2N1/m2<1. Hence ∑m=1∞1/m2 converges, and the theorem proves that 1+115+1511+165535+… is irrational.

By contrast, choosing every positive integer gives the divergent harmonic series in the hypothesis. Group its terms as 1; 1/2; 1/3+1/4; 1/5+1/6+1/7+1/8; and so on. For example,

15+16+17+18≥4⋅18=12.

Every subsequent block doubles the number of terms and halves their smallest value, so again contributes at least 1/2. These repeated contributions make the partial sums unbounded. Even exponents also fail the condition, since their reciprocal sum is half the harmonic series. The theorem makes no assertion for these choices. Infinitude is essential too: A={2,4} has a finite reciprocal sum, but SA=13+115=25. (Question 1.)

Erdős proved the theorem in 1968 under the extra assumption that no two chosen exponents share a divisor greater than 1, and stated that this assumption could be removed without supplying the details [2]. We explain a proof without that assumption.

The proof has three stages. First, rationality forces a fixed lower bound on certain positive remainders. Next, the denominators 2n−1 let us calculate those remainders explicitly. Finally, a small average guarantees at least one choice whose total remainder is below that lower bound. The doubling exponents show the construction at work before the averaging is needed. The main proof ends in Section 7.2. Appendices A.1–A.4 justify the supporting infinite-sum and divisibility facts; they can be read as needed or after the main proof. The other-base extension and formal-proof correspondence are further reading.

A rational number has a fixed positive gap

Start with 2/5. Multiplying it by an integer and subtracting an integer always gives an integer multiple of 1/5:

3⋅25−1=15,4⋅25−1=35,5⋅25−2=0,1⋅25−1=−35.

There is no such value strictly between 0 and 1/5. The denominator fixes a smallest possible positive result.

The same reasoning applies to any fraction. From now on write S=SA for the series belonging to our chosen set A, and suppose S=p/q, where p∈Z and q is a positive integer. For integers u,j,

uS−j=up−jqq.

Its numerator is an integer. If uS−j>0, then up−jq≥1, and therefore

uS−j≥1q.

Positivity is necessary: zero and negative values do not contradict rationality.

To prove our sum irrational, we will therefore suppose that S=p/q and construct integers u,j, which may depend on q, satisfying

(1)0<uS−j<1q.

Multiplying the series and retaining fractional parts

We want a multiplier that makes some terms integers. Choose a positive integer k and consider 2k−1. Here k is the multiplier exponent; it no longer indexes the list n1,n2,…. For example, 15=24−1 is divisible by 3=22−1. Let us first see exactly what multiplying by 15 does:

exponent n

original term multiplied term integer part fractional part
2 1/3 15/3=5 5 0
3 1/7 15/7=2+1/7 2 1/7
4 1/15 15/15=1 1 0
5 1/31 15/31 0 15/31

These rows illustrate the operation; in the chosen series we retain only rows with n∈A. For x≥0, its integer part ⌊x⌋ is the greatest integer at most x. Subtracting it leaves the fractional part {x}=x−⌊x⌋∈[0,1). For example, 2≤15/7<3, so we subtract 2 and retain 1/7. This choice keeps every contribution nonnegative.

The remainder can be read from the exponents.

Keep the denominator 2n−1 fixed and add n to k. The identity

2k+n−1=2k(2n−1)+(2k−1)

gives

2k+n−12n−1=2k+2k−12n−1.

The added term 2k is an integer, so the fractional part is unchanged. Write k=an+r with 0≤r<n. Repeatedly subtracting n from the exponent reduces the calculation to r. Since 0≤2r−1<2n−1,

(2)ℓn(k):={2k−12n−1}=2kmodn−12n−1.

Here kmodn denotes the integer remainder r in division by n. It lies between 0 and n−1; ℓn(k) is the fractional part calculated from it. We will sum these fractional parts to obtain R(k). For example, 8=2⋅3+2, so {255/7}=(22−1)/7=3/7. The fractional part is zero exactly when n divides k. Thus the multiplier 2k−1 turns a selected term into an integer exactly when its exponent divides k. This is why we chose this multiplier: we can make selected contributions vanish by choosing k divisible by their exponents.

What happens to the entire sum.

Apply the same multiplier to every selected term, subtract each integer part, and sum the fractional parts:

R(k)=∑n∈Aℓn(k),J(k)=∑n∈An≤k⌊2k−12n−1⌋.

Only exponents n≤k contribute to J(k): when n>k, the multiplied term is already less than 1. Thus J(k) is a finite sum of integers. Splitting the terms gives

(3)(2k−1)S=J(k)+R(k).

The series defining R(k) converges by comparison with (2k−1)S; Appendix A.2 justifies the identity using partial sums.

The sum R(k) need not itself be a fractional part. For the three exponents 2,3,6 and k=5, the separate fractional parts sum to

{313}+{317}+{3163}=13+37+3163=7963>1.

The fractional part of the whole product is instead 16/63. We retain the separate contributions because each has the explicit formula (2); their sum still has the required form uS−j.

Finally, if A is infinite, there is always a selected exponent n>k. Its multiplied term is positive and less than 1, so it contributes positively to R(k); all other contributions are nonnegative. Therefore

S=p/q⟹R(k)=(2k−1)S−J(k)≥1qfor every k≥1.

Our task is now to find one k with R(k)<1/q. (Question 2.)

A complete example: the doubling exponents

Return to the opening example, A={2,4,8,16,…}. We now know why 255 cleared its first three terms: it is 28−1, and the exponents 2,4,8 all divide 8. In our new notation that calculation is

255S=103+R(8),R(8)=1257+116843009+⋯>0.

One small remainder rules out only some denominators. To rule out every q, we need remainders as small as we please. For any doubling exponent k, all selected n≤k divide k and contribute zero. Every later selected exponent is at least 2k, and

0<ℓn(k)=2k−12n−1<2k2n−1=22n−k.

For k=8, the gaps n−k are 8,24,56,…. In general they are distinct integers at least k. Insert the missing positive terms so that the gaps run through all integers k,k+1,k+2,…; this can only increase the upper bound:

0<R(k)<∑e=k∞22e=42k.

The last equality is the geometric-series formula: the first term is 2/2k and each successive term is half its predecessor.

For k=8 this gives R(8)<1/64, ruling out every denominator q≤64: such a denominator would force R(8)≥1/q≥1/64. For k=16 the bound is R(16)<1/16384. Given any proposed denominator q, choose a doubling exponent k with 2k>4q. Then 0<R(k)<1/q, contradicting rationality. This completes the proof for the doubling exponents.

The special feature was that k both eliminated all earlier terms and left the next exponent at least 2k. A general set A need not have that spacing. The next section explains how averaging replaces it.

Why averaging works

Larger multipliers need not help.

For the square exponents A={1,4,9,16,…}, both k=4 and k=8 are divisible by the first two selected exponents 1,4. All later selected exponents exceed 8, so their integer parts vanish for both multipliers. Consequently

R(4)=15(1511+165535+…),R(8)=255(1511+165535+…)=17R(4).

In fact R(4)≈0.0296 and R(8)≈0.503. Increasing k while preserving the same zero contributions has enlarged the remaining terms. Even eliminating longer initial groups need not suffice: in Exercise 5, the next selected exponent is k+1, leaving (2k−1)/(2k+1−1), which approaches 1/2. The choices of k matter, not just how many initial rows they make zero.

One table, many attempts

Keep A, and hence the original number S, fixed. For each new choice of k, repeat the whole calculation: multiply every selected term by 2k−1, subtract its integer part, and add what remains to obtain R(k). Each column below is one entire attempt to obtain the contradiction. Each row follows the contribution from one original term across the attempts. We need one column whose total is less than 1/q.

Choose candidate exponents spaced Q apart: k=Q,2Q,…,MQ. Here Q is the spacing, M is the number of attempts, and m labels the attempt k=mQ; the actual multiplier is 2mQ−1. Neither Q nor k has to belong to A. We choose Q divisible by an initial group of selected exponents so those rows stay zero in every column. For the square exponents, Q=4 gives:

selected exponent n

k=4 k=8 k=12 k=16
1 0 0 0 0
4 0 0 0 0
9 15/511 255/511 7/511 127/511
16 15/65535 255/65535 4095/65535 0
⋮ ⋮ ⋮ ⋮ ⋮
column total R(4) R(8) R(12) R(16)

Every entry is a fractional part ℓn(k). For example, the cell n=9,k=12 uses 12=1⋅9+3, so ℓ9(12)=(23−1)/(29−1)=7/511. Each column uses the same multiplier throughout, including in the rows not displayed. (Question 3.)

Average complete attempts.

Different rows may be small in different columns; choosing a separate column for each row would not give one multiplier for the original series. Instead average every row across the same columns, then add those row averages. This gives the average of the complete column totals: both calculations add the same entries and divide by the same number M. In symbols,

(4)1M∑m=1MR(mQ)=∑n∈A1M∑m=1Mℓn(mQ).

For infinitely many rows we first use finite portions and then let them grow; convergence preserves the equality (Appendix A.4). If this average is below 1/q, at least one whole column has total below 1/q. Otherwise every column total would be at least 1/q, making their average at least 1/q too.

What the two estimates will do.

We will divide the rows into three groups. An initial finite group stays zero. A further finite group can complete its cycles if we choose M appropriately; we will bound each such row’s average by 1/n. For the infinitely many remaining rows, we need a bound valid for every M: we will prove 2Q/n. Once Q is fixed, we can make the sum of these bounds as small as needed by moving far enough down the rows: the remaining reciprocals 1/n have arbitrarily small total. Section 7 will choose the two row cutoffs and then M so that both nonzero groups have small total averages.

Complete cycles give small averages

To derive a rule for any row, use n=3 and n=6, which are not exponents of the square series. Start with n=3 and consecutive k:

k

1 2 3 4 5 6
kmod3 1 2 0 1 2 0
ℓ3(k) 1/7 3/7 0 1/7 3/7 0

One repeating block, or cycle, has sum 4/7<1 and average 4/21<1/3. This bounds the average, not every entry: 3/7>1/3. For general n, a consecutive cycle has remainders 0,1,…,n−1. The powers 20,21,…,2n−1 add up to 2n−1, exactly the denominator. Each actual numerator is one less than the corresponding power, so the cycle’s total is

(20−1)+(21−1)+⋯+(2n−1−1)2n−1<20+21+⋯+2n−12n−1=1.

Dividing by its n entries gives a cycle average below 1/n. These reciprocals bound the row averages, which is why the hypothesis controls their sum.

Keep the required spacing.

Our candidates use steps of Q, not necessarily 1, because Q preserves the initial zero rows. With n=6 and Q=4:

sample number m

1 2 3
k=4m 4 8 12
kmod6 4 2 0
ℓ6(k) 15/63 3/63 0

The last two rows repeat every three samples. Only the even remainders occur, and the average is (15+3+0)/(3⋅63)=2/21<1/6.

Let g=gcd(n,Q) be the greatest common divisor, the largest positive integer dividing both n and Q, and put c=n/g. In the example n=6,Q=4, these are g=2,c=3. We will show that one cycle has exactly c samples, visiting 0,g,2g,…,n−g once each, in some order. Knowing which remainders occur will let us compare the sampled mean with the mean over all remainders. Here are the four steps.

Possible remainders. Each remainder is a multiple of g: it is mQ minus a multiple of n, and both are divisible by g. Between 0 and n−1 there are exactly c possibilities, 0,g,2g,…,n−g.

A return after c steps. Since

cQ=ngQ=nQg,

taking another c steps adds a multiple of n and leaves the remainder unchanged. So c is a period; we still have to exclude earlier repetition.

No earlier repetition. Two integers have the same remainder on division by n exactly when their difference is a multiple of n. For samples m1<m2, that difference is m2Q−m1Q=(m2−m1)Q. Dividing out g, equal remainders therefore mean that n/g divides (m2−m1)(Q/g). The integers n/g and Q/g have no common divisor greater than 1; they are called coprime. This lets us cancel Q/g: c=n/g must divide m2−m1. In the example n=6,Q=4, write d=m2−m1: if 3 divides 2d, it also divides d=2(2d)−3d, since both terms on the right are multiples of 3. Appendix A.3 proves the general cancellation fact. Thus samples fewer than c steps apart cannot have the same remainder.

All possibilities are visited. The first c remainders are distinct and there are only c possible values. Hence every possible remainder occurs exactly once per cycle.

Compare means without calculating a new formula.

Sort the sampled remainders 4,2,0 as 0,2,4, preserving the sampled mean. These start the pairs (0,1), (2,3), (4,5). Since increases with r, each pair’s first remainder gives its smaller fractional part. Copy each sampled value twice to compare with all six consecutive-cycle values.

In general, each group has g consecutive remainders, and the sample selects its first: 0,g,…,n−g. Repeating each selected value g times gives a sum no larger than the sum over all n remainders. Divide by n: the copied list retains the mean of the c samples, while the consecutive-cycle mean is below 1/n. Thus, whenever M is a positive multiple of c,

(5)1M∑m=1Mℓn(mQ)<1n.

The bound 1/n does not grow with Q: making the initial rows zero can require a large spacing without worsening this bound, provided M completes the cycles. If n divides Q, the cycle has one entry, zero, which also satisfies the bound.

A bound that also covers unfinished cycles

An unfinished cycle can miss its final zero. For n=5 and consecutive candidates (Q=1), one cycle is

131,331,731,1531,0.

The first four entries average 26/(4⋅31)=13/62>1/5; all five average 26/(5⋅31)=26/155<1/5. The increasing positive list and the full cycle therefore have different average bounds. (Question 4 gives a spaced example.)

Nor can finitely many columns complete infinitely many rows: if n>MQ, the last sample has not even reached the first positive multiple of n.

We need another estimate, valid for every positive M:

(6)1M∑m=1Mℓn(mQ)≤2Qn.

For fixed Q, this bound holds for every M, so choosing the number of columns later cannot invalidate it. We prove it using the same cycles.

First bound all the consecutive entries.

The M sampled exponents Q,2Q,…,MQ lie among the first MQ positive integers. We first bound the sum over all MQ entries. For n≥2, consecutive entries beginning at k=1 repeat the block

12n−1,32n−1,…,2n−1−12n−1⏟n−1 positive entries, increasing,0.

For n=2, the positive list consists only of 1/3. The positive entries sum to less than 1, as the complete-cycle calculation showed. Their average is therefore less than 1/(n−1). Any beginning portion of this positive list has no larger average: each omitted entry is at least every included entry, so appending the omitted entries cannot lower the average. Thus a nonempty beginning portion has average at most 2/n, since 1/(n−1)≤2/n for n≥2. We excluded the final zero for this comparison; the whole block including zero already has the stronger bound 1/n.

The first MQ entries consist of complete blocks followed, possibly, by a beginning portion of the positive list. For example, the first seven entries when n=5 have numerators (1,3,7,15,0) followed by (1,3), all over 31. Each piece has sum at most its number of entries times 2/n. The pieces contain MQ entries altogether, so their total is at most 2MQ/n. For n=1, all entries are zero and the bound still holds.

Keep only the sampled entries.

Removing nonnegative entries cannot increase the sum. Hence

∑m=1Mℓn(mQ)≤∑k=1MQℓn(k)≤2MQn.

Divide by the number M of actual candidates to obtain (6). This explains the factor Q: we bounded M sampled entries by including all MQ consecutive entries. We have not changed our candidates or assumed that their sampled values are increasing.

Combining the estimates

Suppose S=p/q. Every column total R(k) is then at least 1/q. We will contradict this by making a finite average of column totals less than 1/q.

The construction with actual numbers

Use the doubling exponents again, this time to see the general method at work. We already have a shorter proof for them. Assume the proposed denominator is q=5. It is enough to make the average of the column totals less than 1/5; allow less than 1/10 from each of the two nonzero groups.

Beyond a doubling exponent 2h, the reciprocal tail is 1/2h+1+1/2h+2+⋯=1/2h.

  1. Decide which early rows to make zero. Set the first cutoff at exponent t=16. The reciprocal sum of all later rows is 1/16<1/10, so any middle group will have enough room in its bound. The earlier cutoff 8 would give 1/8>1/10.

  2. Preserve those zeros in every attempt. Choose Q=16, divisible by 2,4,8,16. Every candidate k=16m therefore gives zero in these four rows.

  3. Make the infinite far group small despite the factor 2Q. Applying 2Q/n to every row beyond t=16 would bound the sum of their averages by 32/16=2. Increasing a doubling cutoff t together with Q=t still gives 2Q/t=2. This shows a limitation of the estimate, not a lower bound on R(k). Instead keep Q=16 and put the second cutoff at T=512. The remaining rows have exponents 1024,2048,…. Adding the bounds 32/n on their averages gives

    32(11024+12048+…)=32512<110.

    A cutoff of 256 would leave 32/256=1/8, above the reserved 1/10.

  4. Complete all cycles between the cutoffs. The middle exponents 32,64,128,256,512 have cycle lengths 2,4,8,16,32. Choose M=64, a common multiple of these lengths. Every middle row completes its cycles, and the far bound is still valid because it holds for every M.

Here t and T are cutoffs on exponent values, not counts of terms. The last candidate is MQ=1024, whereas the second cutoff is T=512: the number of columns and the division into groups of rows have different jobs. M=32 would also work; choosing 64 shows that we may use more columns without changing either cutoff.

The initial rows contribute zero. The middle row averages together are less than

132+164+1128+1256+1512=31512.

The far row averages add up to at most 2Q/T=32/512. Hence

164∑m=164R(16m)<31512+32512=63512<15.

At least one of the 64 complete attempts has 0<R(k)<1/5, contradicting S=p/5. We have proved that a candidate works without identifying which one. That existence is enough for the contradiction.

The first cutoff determines which rows Q must keep zero; the second is chosen after Q is fixed, to compensate for the factor 2Q. Only then do we choose how many columns to use. (For a change of Q, see Question 5.)

The same choices for any admissible set

Let A satisfy the theorem’s hypotheses, and suppose SA=p/q, where q is a positive integer. Since only finitely many positive integers lie below any fixed bound, the infinite set A has arbitrarily large elements. Moving a cutoff farther out can only decrease a reciprocal tail. We may therefore choose cutoffs t,T∈A, with T>t: the initial group then contains t, and the middle group contains T. Make the choices in this order:

t ⟶ Q ⟶ T ⟶ M.
  1. Choose t∈A so that ∑n∈A,n>t1/n<1/(2q). This is possible because the reciprocal tails tend to zero.

  2. Choose a positive common multiple Q of the selected exponents n≤t. Their product works. These exponents divide every candidate mQ, so their rows are zero.

  3. With Q fixed, choose T∈A, with T>t, so that 2Q∑n∈A,n>T1/n<1/(2q). The tails again tend to zero, now with a fixed coefficient 2Q.

  4. For the finitely many selected t<n≤T, choose M to be a positive common multiple of their cycle lengths n/gcd(n,Q). Their product works. The far-tail bound remains valid for this final choice of M.

Add the row averages over these same M columns:

selected exponents

reason for the bound total contribution
n≤t each n divides Q 0
t<n≤T complete cycles; row average below 1/n below ∑n∈A,n>t1/n<1/(2q)
n>T bound 2Q/n for every M at most 2Q∑n∈A,n>T1/n<1/(2q)

By (4), the average of the column totals is therefore

1M∑m=1MR(mQ)<0+12q+12q=1q.

At least one total is below 1/q, contradicting the rationality lower bound for every column. This proves Theorem 1.

Infinitude supplied positivity; rationality supplied the fixed gap; reciprocal convergence supplied both small tails. The order of choices ensured that all bounds apply to the same finite collection of complete attempts.

Consequences and limits

For every integer b≥2, the same method proves

A infinite,∑n∈A1n<∞⟹∑n∈A1bn−1 is irrational.

Replace the multiplier by bk−1. The fractional parts are (bkmodn−1)/(bn−1), and their cycle averages are still below 1/n. Appendix A.5 checks both estimates.

The theorem covers arbitrary selections from the square-exponent series 1+115+1511+…. If infinitely many remain, their sum is irrational: deleting terms cannot increase the reciprocal-exponent sum ∑m≥11/m2<∞, so Theorem 1 still applies. If only finitely many remain, their sum is rational. Thus a selection from this series has rational sum exactly when it is finite; no pattern in the retained exponents is required. Replacing 2 by any integer b≥2 gives the same conclusion for the same retained exponents.

The reciprocal-sum condition is sufficient, not necessary. These particular remainders R(k) need not become arbitrarily small for every infinite A. When every positive exponent is selected, the terms with n>k alone give

R(k)≥∑n>k2k−12n−1>∑n>k2k−12n=1−2−k≥12.

Thus these remainders can never be arbitrarily small. Nevertheless, Erdős proved that the full sum is irrational in 1948 [1]. Failure of our method does not imply rationality. Tao and Teräväinen proved irrationality for the prime exponents [5], another case with divergent reciprocal sum. The short paper [6] gives further sufficient conditions; the long record [7] develops the proofs and the obstructions to extending them. The question for every infinite set A remains open.

Appendix A.6 identifies the Lean-checked theorem and explains how its proof differs from the finite-average proof given here.

Supporting details and formal-proof correspondence

This appendix supplies convergence and limit details, the divisibility argument for sampled cycles, the other-base estimates, and an optional account of formal verification.

Convergence and tails

For nonnegative terms an, the partial sums ∑n=1Nan increase. If they are bounded above, let L be their least upper bound: the smallest real number at least every partial sum. For every ε>0, some partial sum exceeds L−ε; otherwise L−ε would be a smaller upper bound. Every later partial sum then lies in (L−ε,L], so the series converges to L. Its tail after N equals L−∑n=1Nan and tends to zero. This is the property used twice when choosing the cutoffs in Section 7.

Comparison follows by comparing partial sums. In particular, 0≤an≤bn and ∑bn<∞ imply ∑an≤∑bn<∞. If one term is strictly smaller, the sums differ by at least that positive difference. Restricting a nonnegative series to a subset of its indices can only decrease its sum.

For 0<x<1, multiplication and subtraction of the finite geometric sum give

(1−x)(1+x+⋯+xN−1)=1−xN.

Letting N→∞ yields ∑j=0∞xj=1/(1−x). At x=1/2, this gives ∑j=1∞2−j=1 and, by scaling, ∑j=h∞2−j=21−h. Consequently 1/(2n−1)≤21−n proves convergence of SA for every set A, irrespective of whether ∑n∈A1/n converges.

Passing to the full transformed sum

Fix k. Each ℓn(k) is nonnegative and at most (2k−1)/(2n−1), so R(k) converges by comparison with (2k−1)S. Only selected exponents n≤k have nonzero integer parts. For any integer L≥k, splitting the finitely many terms up to L gives

(2k−1)∑n∈An≤L12n−1=J(k)+∑n∈An≤Lℓn(k).

As L grows, J(k) stays fixed and the two convergent partial sums tend to S and R(k). This proves (3).

Why the sampled remainders form a cycle

The elementary cancellation fact is: if positive integers c,u are coprime and c divides du, then c divides d. The example in Section 6.2 used c=3,u=2. For general coprime c,u, the same argument uses integers a,b with au+bc=1. Here is why they exist. Among the positive values au+bc, allowing a,b to be any integers, choose the smallest, v; there is at least one since u=1⋅u+0⋅c is such a combination. Write v=au+bc for coefficients attaining this minimum. Division gives u=sv+r with 0≤r<v, so

r=u−sv=(1−sa)u−sbc.

Thus r is another integer combination of u,c. If it were positive, it would contradict the choice of v as the smallest positive combination. Hence r=0, so v divides u. The same reasoning with c shows that v divides c too. Since u,c are coprime, v=1. Now d=a(du)+b(dc) proves cancellation.

Return to g=gcd(n,Q), c=n/g and u=Q/g. The integers c,u are coprime: a larger common divisor would give a common divisor of n,Q larger than g. Write x∣y to mean that x divides y. Two sampled exponents m1Q and m2Q have equal remainders exactly when their difference is divisible by n, that is,

n∣(m2−m1)Q⟺c∣(m2−m1)u⟺c∣m2−m1.

Thus the first c sampled remainders are distinct and repeat after c steps. Every remainder is divisible by g, since both mQ and n are. There are exactly c possibilities 0,g,…,n−g, so each occurs once. This supplies the remainder rule used in Section 6.2.

Adding the row averages

For finitely many rows n≤H, adding the row averages equals averaging the column totals: both operations add the same entries and divide by M. Keep Q and M fixed. Given any positive target ε, each of the M convergent column sums R(mQ) has tail less than ε beyond some row cutoff. Take the largest of these finitely many cutoffs. All column tails, and therefore their average, are less than ε beyond it. Consequently the finite sums of row averages tend to the average of the full column totals. This proves (4); no interchange of two infinite sums is needed.

Other bases

Let b≥2 be an integer. For b=3, exponents 2,4,8,… give 1/8+1/80+1/6560+…. Convergence and the fractional-part formula carry over because bn−1≥2n−1 and bk+n−1=bk(bn−1)+(bk−1).

For a consecutive cycle, the sum of the fractional parts is

(b0−1)+⋯+(bn−1−1)bn−1<b0+b1+⋯+bn−1bn−1=1b−1≤1.

Here we used 1+b+⋯+bn−1=(bn−1)/(b−1) and b≥2. The fractional parts still increase with the remainder, so the equal-group comparison bounds a complete sampled-cycle average by the consecutive-cycle average, which is below 1/n.

For n≥2 the n−1 positive entries are still increasing and have total less than 1. The beginning-portion argument in Section 6.3 therefore gives the same 2/n bound for consecutive entries starting at k=1. Keeping only the sampled entries then gives the bound 2Q/n for any sampled length M. For n=1 the fractional parts are all zero: (bk−1)/(b−1) is an integer. Both estimates required for the three groups remain valid. With the same choices of t,Q,T,M, the proof establishes irrationality of ∑n∈A1/(bn−1) whenever A is infinite and ∑n∈A1/n<∞ [6].

Formal verification and its scope

theorem irrational_erdosSupportSeries_of_summable_reciprocal
(b : N) (A : Set N) (hb : 2 ≤ b) (hA : A.Infinite)
(hsum : Summable (reciprocalSupportTerm A)) :
Irrational (erdosSupportSeries b A)

Line by line: b is a nonnegative integer and hb assumes b≥2; A is a set of nonnegative integers and hA assumes it is infinite; reciprocalSupportTerm A is a sequence indexed by n=0,1,…, with entry 1/n when n is in A and 0 otherwise, and hsum assumes its sum is finite; the conclusion says that erdosSupportSeries b A, the sum of 1/(bn−1) over A, is irrational. Lean’s nonnegative integers start at 0, and in Lean dividing by 0 gives 0, so the exponent 0 counts as 0 in both sums; removing it changes neither sum and leaves an infinite set infinite. So for b=2 the statement says the same as Theorem 1. It is the formal version of [6].

The Lean source at a fixed commit contains this statement and its proof. The Lean kernel, a small program, has checked every step of that proof. Comparator checked that the proof establishes a separately written formal statement. Its verification receipt records acceptance by Lean’s kernel and by a second, independent kernel checker. At base 2 the Lean proof follows [6], which takes limits of averages; it reaches the other bases by comparing each base-b fractional part with twice the base-2 one, a different route from Appendix A.5.

With exponent 0 omitted as above, the shifted quantity used in Lean is

∑n∈A2kmodn2n−1=SA+R(k).

Its value at k=0 is SA. A value strictly between SA and SA+ε therefore means exactly 0<R(k)<ε, the target of our proof. Subtracting SA, we can describe the two limits in terms of our fractional parts.

First fix Q and let the averaging length tend to infinity. Each row’s average tends to its cycle mean: complete cycles have that mean, and the unfinished last cycle has bounded length, so its weight in the average tends to zero. Throughout this limit the row averages are bounded by 2(Q+1)/n.

To pass from the row limits to the whole sum, choose a row cutoff so far out that the sum of these bounds beyond it is small. This is possible because Q is fixed and ∑n∈A1/n converges. The same bound holds for each row’s limit, so it controls both the tails before taking the limit and the tail of the limiting row averages. Only finitely many earlier rows remain, and their limits can be taken one at a time. Combining that finite part with the two small tails justifies passing the limit through the sum.

Next consider Q=lcm⁡(1,…,t). For every n≤t, the limiting row average is zero, because n divides Q. All remaining limiting row averages are bounded by 1/n, independently of t. Their total is therefore at most ∑n∈A,n>t1/n, which tends to zero. This is the second use of small reciprocal tails. The averaging length tends to infinity with Q fixed before t varies. To obtain one witness, the proof chooses a suitable Q first and a sufficiently long average second.

Our cutoffs t,T and number M of candidate columns make those choices explicit, using the separately proved estimate 2Q/n. Under the rationality assumption, both arguments make the integer qR(k) strictly between 0 and 1. The finite reconstruction and its estimates are ordinary proofs provided here; the historical Lean and Comparator receipts establish the linked formal theorem and its own proof.

Questions and exercises

Question 1. Which of {2,4}, {2,4,8,16,…} and {2,4,6,8,…} does Theorem 1 apply to?

Question 2. Suppose S=p/q. Why would 0<R(k)<1/q be impossible, even if k was chosen using q? Why do we need R(k)>0, and where does infinitude of A supply it?

Question 3. In the square-exponent table, what stays fixed and what changes when we move from k=4 to k=8? Why can we not choose the smallest entry in each row and regard their sum as one successful attempt?

Question 4. Why is the mean over a complete consecutive cycle below 1/n? Why does the same bound hold for a complete sampled cycle, which may have fewer than n entries? For n=6 and Q=4, the full cycle averages 221<16. Is the first value alone also below 16?

Question 5. In Section 7.1, replace Q=16 by Q′=64 and keep T=512. Does the far bound still give less than 110? What must be chosen again?

Exercise 1. For n=5 and Q=1, calculate the mean of the first seven entries. Separate them into a complete cycle and a beginning portion of the next. Why is the mean of all seven not simply half the sum of the two piece-means?

Exercise 2. Use the fractional-part formula (2) to show that 212−1 is divisible by 7 and by 63, and find its remainder on division by 25−1=31.

Exercise 3. Adapt the proof in Section 5 to the exponents 3,9,27,81,…, using k=3j.

Exercise 4. Show that 52−7=(2−1)3, and that multiplying a number a2−c, where a,c are nonnegative integers, by 3−22 gives another number a′2−c′, where a′,c′ are nonnegative integers. Use the test of Section 3 to show that 2 is irrational.

Exercise 5. Let a1=2 and let each later exponent be one more than the product of the earlier ones, giving 2,3,7,43,1807,…. Set A={a1,a2,…} and write Pj=a1a2⋯aj. (a) Show that 1a1+⋯+1aj=1−1Pj. (b) Show that with k=Pj the first j exponents leave 0 but the exponent Pj+1 leaves at least 37, so R(Pj)≥37 for every j.

Answers

Question 1. Only {2,4,8,16,…}: {2,4} is finite (its sum 25 is rational), and for {2,4,6,…} the sum 12+14+16+… is half of 1+12+13+…, which diverges.

Question 2. The identity R(k)=((2k−1)p−qJ(k))/q has an integer numerator. If positive, that numerator is at least 1, so R(k)≥1/q. Choosing k using q does not change this argument: 2k−1 and J(k) remain integers. Zero would give no contradiction. Infinitude supplies a selected n>k, whose multiplied term is positive and less than 1; all of it contributes to R(k), and the other contributions are nonnegative.

Question 3. The exponents A and the original sum S stay fixed. The multiplier changes from 15 to 255, and every selected term is transformed using that same multiplier within its column. Separate row minima may come from different columns and need not describe any one multiplier applied to S.

Question 4. A consecutive cycle has total below 1 and n entries, hence mean below 1/n. A sampled cycle selects the smallest remainder from each equal-sized group. Since the fractional parts increase with the remainder, its mean is no larger, even when it has fewer entries. The first value alone, however, is 1563=521=1042, more than 16=742. The complete-cycle bound need not hold for a beginning portion; the separate bound (6) covers these too.

Question 5. No: 2Q′/T=128/512=1/4>1/10. Choose T again: T′=1024 still fails, but T′=2048 works, since 128/2048=1/16<1/10. The middle exponents 32,64,…,2048 now have cycle lengths 1,1,2,4,8,16,32, so M=64 still works. Its validity had to be rechecked, even though its value did not change. This is why Q is fixed before T.

Exercise 1. The first five entries sum to 26/31; the next two sum to 4/31. All seven therefore average 30/217. The two piece-means, 26/155 and 2/31, must be weighted by their lengths: (5⋅26155+2⋅231)/7=30/217. Giving the two pieces equal weight would give each entry in the shorter piece more weight than each entry in the longer one.

Exercise 2. 3 and 6 divide 12, so 7 and 63 divide 212−1=4095. The remainder of 12 divided by 5 is 2, so the remainder on division by 31 is 22−1=3: indeed 4095=31×132+3.

Exercise 3. For k=3j, exponents 3i with i≤j divide k and leave nothing. Later exponents n=3i leave less than 22n−k, and the gaps 3i−3j are different and at least 2×3j, so R(3j)<∑e≥2×3j22e=422×3j, which is below 1q for large j.

Exercise 4. (2−1)2=3−22 and (2−1)(3−22)=52−7. Also (a2−c)(3−22)=(3a+2c)2−(4a+3c). Start with 2−1=12−1. The displayed recurrence preserves nonnegative integer values of a and c, so every odd power (2−1)2i+1 is m2−j for nonnegative integers m and j, and it is positive. Since 12<2<(3/2)2, we have 0<2−1<12. Hence 0<(2−1)2i+1<12⋅4i, which is below 1q once 2⋅4i>q. By the test, 2 is irrational.

Exercise 5. (a) With P0=1, aj=Pj−1+1 and Pj=Pj−1aj, so 1Pj−1−1Pj=aj−1Pj=1aj, and adding these for 1,…,j leaves 1−1Pj. Since Pj≥2j, these partial sums tend to 1. The set A is infinite and satisfies the theorem’s reciprocal-sum hypothesis. (b) The first j exponents divide Pj. The exponent Pj+1 is bigger than k=Pj, so it leaves 2Pj−12Pj+1−1, which is at least 37 because 7(2Pj−1)−3(2Pj+1−1)=2Pj−4≥0. Thus the particular choices k=Pj fail to make the remainders small. Other multiples of Pj preserve the same initial zeros; averaging lets us search among those choices.

References

  1. P. Erdős, On arithmetical properties of Lambert series, J. Indian Math. Soc. 12 (1948), 63–66.

  2. P. Erdős, On the irrationality of certain series, Math. Student 36 (1968), 222–226 (issued 1969).

  3. P. Erdős, On the irrationality of certain series: problems and results, in A. Baker (ed.), New Advances in Transcendence Theory, Cambridge University Press, 1988, 102–109.

  4. T. F. Bloom, Erdős Problem #257, https://www.erdosproblems.com/257; the statement is quoted in the Formal Conjectures file FormalConjectures/ErdosProblems/257.lean.

  5. T. Tao and J. Teräväinen, Quantitative correlations and some problems on prime factors of consecutive integers, arXiv:2512.01739v2 (submitted December 2025, revised April 2026).

  6. W. Cook, Irrationality criteria for Lambert subseries, 30 September 2026.

  7. W. Cook, Reciprocal Mersenne subseries: support criteria, finite arithmetic and conditional orbit problems, 30 September 2026.

About this paper

Authorship and AI use. Will Cook built and directed the research infrastructure and maintains the public release. He reviewed claims when he could. AI agents did most of the research and drafting. Cook did not independently verify every claim.

Cite and contact. Cite this paper by its title, author and date above, with its PDF; cite the earlier sources it uses for a mathematical result. For software, use the release citation and give the commit used. Contact Will with questions or corrections.

Prefer the manuscript?

Equations typeset from the exact TeX. Rendered from the LaTeX manuscript source with file fingerprint sha256:5efdc16fe9917b63. Its file fingerprint matched the published source record, so the PDF above, the LaTeX, and this page are one manuscript. Redeploying the site regenerates this page from whatever the public repository holds at that moment.