decompwlj · a graduate primer · 11 November 2026

Weight × Level + Jump

Any strictly increasing integer sequence, read term by term as \(a(n)=k(n)\cdot L(n)+d(n)\): definitions, the sieve of Eratosthenes, the primes with a ledger of what is proved, a census of 1000 sequences, and where additive meets multiplicative.

Framework: Rémi Eismann, arXiv:0711.0865 and decompwlj.com. Exposition and computations: Claude (Anthropic), from the tenth edition of the project’s treatise. Numbers without a dagger were recomputed for this report in NumPy and PARI/GP 2.15.4 (record on page 8).

Abstract

Take a strictly increasing sequence of positive integers. The gap from a term to the next, an additive datum, selects a divisor of the term minus that gap, a multiplicative datum. The result is a unique writing of each term as weight × level + jump, and a classification of the terms into a weight class and a level class. On the natural numbers the construction is the sieve of Eratosthenes, and its level class is the set of shifted primes. On the primes it gives a handful of exact, elementary rigidity results, one density theorem, one conditional asymptotic whose constant is identified unconditionally, and several restatements of classical open problems, which it does not make easier. On 1000 sequences of the OEIS it behaves as a measuring instrument: its aggregate reading is explained by size and residues, and the departures from that explanation show where the arithmetic of a sequence lies.

Contents

  1. 1Definitions2
  2. 2Natural numbers, the FTA, Eratosthenes3
  3. 3The primes: structure and census4
  4. The primes: conjectures and proofs5
  5. 4One thousand sequences6
  6. 5Additive and multiplicative links7
  7. 6Paths of research8
Square log-log scatter plot of weight against level for the 78,495 decomposable primes below one million. Weight-classified primes fill a triangular sheet of vertical columns above the diagonal; level-classified primes lie on horizontal lines below it.
The weight–level plane of the primes below \(10^6\). Each prime is the point \((k,L)\); indigo, weight class; copper, level class (23.38%). Logarithmic axes with equal scales: the distance to the diagonal is \(|\log (k/L)|/\sqrt2\).

Status tags. proved a complete proof. proved* complete and audited inside the project, not yet refereed. verified computed for this report and cross-checked by a second engine sharing no code, unless page 8 says single engine. conditional heuristic open as they say. classical a known problem restated; restating it does not lower its difficulty. A dagger \(\dagger\) marks a number carried from the treatise and not recomputed here.

2, 3, 7
the only primes that do not decompose (Lemma 2)
20.8% → 15.8%
level share of the primes below \(10^7\) and \(10^{10\,\dagger}\); its limit is 0 (Theorem 1)
2C2 = 1.3203…
constant of the level-one primes: twice the twin-prime constant (Lemma 1)
99,965,535
terms of 1000 OEIS sequences, decomposed and re-verified (§4)
Six small square weight-level planes on a common normalised frame: natural numbers, squarefree numbers, primes, lucky numbers, decimal palindromes and squares, with level shares 9.6, 10.7, 23.0, 32.3, 71.7 and 100 percent.
Six sequences, one frame. First \(10^5\) terms of each, in the coordinates \((\log k,\log L)/\log a(10^5)\), which give all six the same diagonal and the same boundary. The percentage is the level share. The same integers, read through different sequences, leave different prints.
Weight × Level + Jump · a graduate primer1 / 8

Section 1Definitions

Everything in this report follows from four lines. They take a sequence and return, for each term, two integers and a class.

Definition 1. Let \(a(1)\lt a(2)\lt a(3)\lt\cdots\) be positive integers. For each \(n\) define

  • the jump \(d(n)=a(n+1)-a(n)\);
  • \(\ell(n)=a(n)-d(n)\) if \(a(n)-d(n)\gt d(n)\), and \(\ell(n)=0\) otherwise;
  • the weight \(k(n)\): the least divisor of \(\ell(n)\) exceeding \(d(n)\), and \(0\) if \(\ell(n)=0\);
  • the level \(L(n)=\ell(n)/k(n)\), and \(0\) if \(k(n)=0\).

Then \(a(n)=k(n)\,L(n)+d(n)\). The term is decomposable if \(\ell(n)\neq0\); it is then level-classified if \(k(n)\gt L(n)\) and weight-classified if \(k(n)\le L(n)\).

The weight exists because \(\ell\) is itself a divisor of \(\ell\) exceeding \(d\); it is unique because it is a minimum. Nothing is fitted and there is no parameter: \(a(n)\mapsto(k,L,d)\) is a change of coordinates, invertible term by term. Equivalently, \(k(n)\) is the least modulus for which the jump is the remainder of the term, \(a(n)\bmod k=d(n)\). It is in this form that the weight of the primes entered the OEIS (A117078; level A117563, \(\ell\) A118534).

Lemma 2 (domain).proved \(a(n)\) is decomposable if and only if \(a(n)\gt 2d(n)\), that is, \(a(n+1)\lt\tfrac32\,a(n)\).

The construction therefore lives on sequences growing more slowly than \((3/2)^n\). It is defined at no term of \(2^n\) or of the Fibonacci numbers, and at every prime except 2, 3 and 7: for \(n\ge25\) there is a prime in \([n,\tfrac65n]\) (Nagura [10]), and the primes below 25 are checked by hand. Note that \(5=3\cdot1+2\) decomposes, while 7, whose gap is 4, does not.

Proposition A (the window).proved For a decomposable term the following are equivalent: (i) it is level-classified; (ii) \(\ell\) has no divisor in the window \((d,\sqrt{\ell}\,]\); (iii) \(L\le d\). In particular every term with \(\ell\lt(d+1)^2\) is level-classified (forced level).

Proof. \(k\le L\) means \(k^2\le\ell\): the least divisor exceeding \(d\) is at most \(\sqrt\ell\). This is (i)\(\Leftrightarrow\)(ii). If \(k\gt L\), then \(L\) is a divisor of \(\ell\) below the least divisor exceeding \(d\), so \(L\le d\); conversely \(L\le d\lt k\). If \(\ell\lt(d+1)^2\) the window contains no integer. \(\square\)

Two readings are worth keeping. The classification is a question about divisors in an interval whose left end is the jump: divisors of \(\ell\) up to \(d\) are invisible, and the level class consists of the terms with none between \(d\) and \(\sqrt\ell\). And before any arithmetic enters, size decides: a sequence whose jumps exceed the square roots of its terms is level-classified throughout (§4).

The plane

Each decomposable term is the lattice point \((k,L)\) on the hyperbola \(kL=\ell\). On logarithmic axes with equal scales these hyperbolas are lines of slope \(-1\), the diagonal \(k=L\) separates the classes, and the distance from a point to the diagonal is \(|\log(k/L)|/\sqrt2\). This is why every weight–level figure in this report is square.

Compute it yourself

The project’s reference kernel, in PARI/GP; \(b\) is the successor of \(a\).

decomp(a, b) = { my(d = b-a, l);
  if (a <= 2*d, return([0,0,d]));
  l = a - d;
  fordiv(l, k, if (k > d, return([k, l/k, d]))) }
? decomp(113, 127)    \\ a prime and the next
%1 = [33, 3, 14]
? decomp(113, 114)    \\ a natural number
%2 = [2, 56, 1]

Exercise 1. The same integer has different coordinates in different sequences. Show that \(n^2\) is decomposable exactly for \(n\ge5\), and then always level-classified.

Three number lines showing the divisors of ell for the primes 17, 19 and 37, the jump d as a threshold, and the weight as the first divisor to the right of the threshold.
Figure 1. Three decompositions as divisor ladders (logarithmic scale). Divisors of \(\ell\) in the shaded zone are at most \(d\) and invisible; the weight is the first divisor to the right of \(d\) (filled). Bold: the window \((d,\sqrt\ell\,]\). The primes 17 and 19 share \(\ell=15\) and exchange weight and level because their jumps differ.
Table 1. The first seventeen primes. Copper: level class. The prime 11 is a tie, \(k=L\), and ties count in the weight class. verified
\(p\)235711131719232931374143475359
jump \(g\)12242424626424662
\(\ell=p-g\)––3–991515172725333939414757
weight \(k\)––3–3935173251131341473
level \(L\)––1–315319131331119
Weight × Level + Jump · a graduate primer2 / 8

Section 2The natural numbers: Eratosthenes, and how much of the fundamental theorem

Run the construction on \(a(n)=n\). Every jump is 1, the window \((1,\sqrt\ell\,]\) is as wide as it can be, and what comes out is the oldest algorithm in number theory.

Proposition 1 (Eratosthenes).proved For \(a(n)=n\) and \(n\ge3\): \(d=1\), \(\ell=n-1\), \[k(n)=\spf(n-1),\qquad L(n)=\frac{n-1}{\spf(n-1)},\] where \(\spf\) is the smallest prime factor. The term \(n\) is level-classified if and only if \(n-1\) is prime, and then \((k,L)=(n-1,1)\). It is a tie if and only if \(n-1\) is the square of a prime.

Proof. The least divisor of \(m=n-1\) exceeding 1 is its smallest prime factor \(q\). If \(m\) is prime, \(k=m\gt1=L\). If \(m\) is composite, every prime factor of \(m/q\) is at least \(q\), so \(L=m/q\ge q=k\), with equality exactly when \(m=q^2\). \(\square\)

The dictionary, entry zero

  • Weight column \(k=q\): the integers struck at stage \(q\) of the sieve, shifted by one. Its density is \(\frac1q\prod_{r\lt q}\big(1-\frac1r\big)\), that is \(\frac12,\frac16,\frac1{15},\frac4{105}\) for \(q=2,3,5,7\).
  • Level class: the single line \(L=1\), the shifted primes \(p+1\), which the sieve never strikes.
  • Level share: about \(1/\log x\). On \(\mathbb N\) the rarefaction of the level class is the prime number theorem.

verified Below \(10^7\): 9,999,998 decomposable terms (all but 1 and 2); 664,579 level-classified, which is \(\pi(10^7)\), all on \(L=1\); 446 ties and 446 weight columns, which is \(\pi(\sqrt{10^7})\); column shares 0.50000, 0.16667, 0.06667, 0.03810.

How much of the fundamental theorem?

Iterate on the level: decompose \(n\), then the natural number \(L(n)+1\), and so on. Since \(\ell(L+1)=L\), the successive weights are the prime factors of \(n-1\) in non-decreasing order, and the chain ends at a level-classified term.

For \(n=361\) the weights read \(360=2^3\cdot3^2\cdot5\):

\(n\)3611819146166
\(\ell=n-1\)3601809045155
weight \(k\)222335
level \(L\)18090451551

So the construction contains the existence half of the fundamental theorem of arithmetic, as an algorithm: it is trial division. It does not contain the uniqueness half. That the multiset of primes does not depend on the order of extraction is Euclid’s lemma, which the construction neither uses nor proves; the writing \(a=kL+d\) is unique for a cheaper reason, namely that \(k\) is defined as a minimum.

What generalises, and what does not

For another sequence there is no product structure on the terms, no irreducible elements and no unique-factorisation theorem. What does generalise is the sieve. The weight is a smallest-divisor function with a threshold, the threshold is the jump, and the level class is the set of terms that survive. The accurate slogan is “a generalisation of the sieve of Eratosthenes”, not “an extension of the fundamental theorem”. Proposition 1 is also the only place where “level-classified” is exactly “\(\ell\) is prime”; on the primes this becomes almost true, with exceptions (Lemma 5).

Three one-line variations

verified on the first \(10^5\) terms. Odd numbers. \(d=2\) and \(\ell\) is odd, so again \(k=\spf(\ell)\): level-classified means \(a-2\) prime. Level share 17.98%. Even numbers. Level-classified means that \(a-2\) is twice a prime (or \(a=10\)): the line \(L=2\), share 9.59%. Numbers not divisible by 3. Here \(d\in\{1,2\}\) and 3 always divides \(\ell\), so \(k\le3\): three level-classified terms (4, 5, 8) among 99,998. A forced divisor empties the level class.

Exercise 2. Prove the statement about the odd numbers and find the ties. (They are the terms \(p^2+2\): 11, 27, 51, 123, …)

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
\(k=2\)\(k=3\)\(k=5\)\(k=7\)level class: \(\ell\) primetie: \(\ell=q^2\)
Figure 2. Proposition 1 as a picture. Left: the integers \(\ell=n-1\) from 1 to 120 in rows of 20, coloured by the weight of \(n\). The colours are the stages of the sieve; what the sieve never strikes is the level class. Right: the same construction as a plane, \(n\le10^5\). The weight class is an arrowhead of columns at the primes; the level class is one line. verified
Square log-log weight-level plane of the natural numbers up to 100,000: vertical columns at prime weights above the diagonal and a single horizontal line at level one.
Weight × Level + Jump · a graduate primer3 / 8

Section 3 · first partThe primes: structure and census

Throughout, \(p=p_n\) is a decomposable prime (any prime but 2, 3, 7), \(g=p_{n+1}-p_n\) its gap, \(\ell=p-g\). As \(g\) is even and \(\ell\) odd, weights and levels of primes are odd. Proofs are complete as printed.

Lemma 3 (localisation).proved If \(p\) is level-classified, then \(L\le g-1\), \(k\gt\sqrt\ell\), and every divisor of \(\ell\) below \(k\) is at most \(g-1\).

Proof. Proposition A, and parity: divisors of \(\ell\) are odd, \(g\) is even. \(\square\)

Lemma 4 (the twin column).proved \(k=3\) if and only if \(g=2\).

Proof. One of \(p-2,\,p,\,p+2\) is divisible by 3. If \(g=2\), then \(p\) and \(p+2\) are primes exceeding 3, so \(3\mid p-2=\ell\), and 3 is the least integer exceeding \(g\). Conversely \(k=3\gt g\) with \(g\) even gives \(g=2\). \(\square\)

Proposition 2 (mod 3).proved Exactly one of \(3\mid g\), \(3\mid\ell\) holds.

Proof. Modulo 3, \(p\not\equiv0\) and \(p\not\equiv-g\). If \(3\mid g\) then \(\ell\equiv p\not\equiv0\). If not, the only class left for \(p\) is \(g\), so \(\ell=p-g\equiv0\). \(\square\)

Column identities.proved \(k=5\) if and only if \(g=4\) and \(5\mid\ell\). \(k=7\) if and only if \(g=4\), \(5\nmid\ell\), \(7\mid\ell\), or \(g=6\), \(7\mid\ell\).

Proof. \(\ell\) is odd, so the least divisor exceeding 4 can only be \(5,7,9,\dots\), and the one exceeding 6 only \(7,9,\dots\); \(g=2\) is the column \(k=3\). \(\square\)

Lemma 5 (level one).proved If \(\ell\gt g^2\), then \(L=1\) if and only if \(\ell\) is prime.

Proof. \(L=1\) means that \(\ell\) has no divisor in \((g,\ell)\). If \(\ell\) is composite, with least prime factor \(r\le\sqrt\ell\), then \(\ell/r\ge\sqrt\ell\gt g\) is such a divisor. \(\square\)

The inequality \(\ell\le g^2\) holds only for \(p\in\{5,13,19,23,31,113\}\), and \(L=1\) with \(\ell\) composite only for 13 and 31. Both lists are complete below \(4\cdot10^{18}\), by the exhaustive tables of maximal gaps [8]. Hence, up to two exceptions, the level-one primes are the middle terms of three primes \(p-g,\,p,\,p+g\) in progression whose upper step is a prime gap.

Corollary (balanced primes).proved If \(g_{n-1}=g_n\) then \(\ell=p_{n-1}\) is prime, so \(L=1\).

Proposition 3 (cube bound).proved If \(p\) is level-classified with composite weight, then \(\ell\le(g-1)^3\), with equality only at \(p=131\).

Proof. Write \(k=rs\) with \(1\lt r\le s\lt k\). Then \(r\), \(s\) and \(L\) are divisors of \(\ell\) below \(k\), hence at most \(g-1\) by Lemma 3, and \(\ell=rsL\). \(\square\)

These primes are exactly 13, 31, 113, 131, 887, with weights 9, 25, 33, 25, 51, again below \(4\cdot10^{18}\). So a level-classified prime with \(\ell\gt g^3\) has a prime weight, and this normal form is the door to Theorem 1:

\[\ell=s\,q,\qquad q=k\ \text{prime},\qquad s=L\le g-1,\]

so that \((q,\,sq+g,\,sq+2g)=(k,\,p_n,\,p_{n+1})\) is a triple of primes.

verified Below \(10^7\), with identical \((k,L)\) from both engines at all 664,579 primes: no violation of any statement above; 58,979 primes with \(k=3\), the same primes as \(g=2\); 19,495 with \(k=5\); 26,974 = 7,859 + 19,115 with \(k=7\); 21,837 balanced primes, all on \(L=1\); largest level 129, at \(p=8{,}917{,}523\), \(g=140\).

Exercise 3. State and prove the identity for the column \(k=9\). (Answer: \(g=4\), \(5\nmid\ell\), \(7\nmid\ell\), \(9\mid\ell\), or \(g=8\), \(9\mid\ell\); the gap 6 is excluded by Proposition 2. Below \(10^7\): 24,581 = 10,468 + 14,113.)

Two square log-log weight-level planes side by side: the primes below one million, and a Cramér random sequence of the same density. Both show a weight sheet above the diagonal and a level class below it; the random sequence has a column at weight 2 and even levels, which the primes do not.
Figure 3. The primes and a Cramér random sequence (each integer \(m\) kept with probability \(1/\log m\); 78,279 terms). Same gross anatomy; different fine structure: the random plane has a column \(k=2\) and even levels, and no statement of this page holds in it.
Table 2. Census of the primes. \(N_{\rm lev}\): level-classified; \(N_1\): of which \(L=1\); \(f\): level share among the \(\pi(x)-3\) decomposable primes; last column: the same share for Cramér sequences (mean of three seeds; \(\dagger\): one seed). Rows \(\dagger\) are carried from the treatise. Ties \(k=L\) at \(10^7\): 28. verified
\(x\)\(N_{\rm lev}\)\(N_1\)\(f\)Cramér
\(10^3\)752445.45%44.41%
\(10^4\)39013531.81%34.70%
\(10^5\)2,65888027.72%27.77%
\(10^6\)18,3535,95323.38%23.73%
\(10^7\)138,04944,01120.77%20.99%
\(10^{8\,\dagger}\)1,078,707339,87018.72%18.80%
\(10^{9\,\dagger}\)8,692,3392,708,03117.09%17.08%
\(10^{10\,\dagger}\)71,670,80822,083,60815.75%15.68%

Reading the census: what a random sequence does

The level share falls in every decade of Table 2, and so does that of a random sequence: keeping each integer \(m\) with probability \(1/\log m\) (Cramér) gives 20.99% below \(10^7\), against 20.77% for the primes. The decay is generic. But the agreement is partly a cancellation. Keeping only odd integers, as the primes do, gives 25.31%; adding 3, 5, …, 19 to the admissibility filter brings the model back step by step: 22.93, 22.39, 21.69, 21.49, 21.21, 21.07, 20.97%. The model that matches for the right reason is the Hardy–Littlewood-admissible one. Hence the rule followed here: an aggregate share is quoted only against a control, and the arithmetic is sought in exact statements like those above, not in a rate of decay.

Weight × Level + Jump · a graduate primer4 / 8

Section 3 · second partThe primes: the ledger of conjectures and proofs

The founding paper ended on nine conjectures. Four are now proved inside the framework and five are classical problems restated. The questions that are native and still open are at the foot of the table.

Theorem 1 (rarefaction).proved* Let \(\Nlev(x)\) count the level-classified primes up to \(x\). Then \[\Nlev(x)\ \ll\ \frac{x\,\log\log x}{(\log x)^{3/2}}.\] In particular the level share \(f(x)=\Nlev(x)/(\pi(x)-3)\) tends to 0. This was Conjecture 9 of the founding paper.

Sketch. Put \(G=(\log x)^{3/2}\). (1) The gaps sum to at most \(x\), so at most \(x/G\) primes have \(g\gt G\). (2) The primes with \(g\le G\) and \(\ell\le g^3\) number at most \(G^4\), since \((g,\ell)\) determines \(p\). (3) Every other level-classified prime is in normal form, \(\ell=sq\) with \(s\le g\le G\). Forget that \(p+g\) is the next prime; keep only that \(q\), \(sq+g\), \(sq+2g\) are prime. (4) For fixed \((g,s)\), an upper-bound sieve of dimension 3 ([4], Theorem 5.7), uniform in the parameters, bounds the number of such \(q\le x/s\) by \(\ll x/(s\log^3x)\) on average over \(g\). The sum over \(s\) costs \(\log\log x\), the sum over \(g\le G\) costs \(G\), and \(xG\log\log x/\log^3x\) balances \(x/G\). The full proof is Appendix B.1 of the treatise [2].

Three things to carry away. The exponent \(\tfrac32\) is an artefact of the balance; the expected truth is \(f(x)\asymp\log\log x/\log x\), and \(f(x)\log x/\log\log x\) reads 1.23, 1.20, 1.18, 1.17, 1.16 at \(10^6,\dots,10^{10}\), the last three carried\(^\dagger\). The proof discards the word next, so it gives no lower bound: whether the level class is infinite is open, and would follow from the infinitude of balanced primes. By page 4, it is a theorem about the construction at a given density at least as much as about the primes. And the asterisk is a statement of social status, not a hedge: the proof is audited within the project and not refereed. Independently, density zero has been formalised in Lean 4 with Mathlib [13], by Brun’s pure sieve and with the weaker rate \(x(\log\log x)^7/(\log x)^{3/2}\); the repository’s kernel check passes and its definitions were compared with Definition 1, but an independent rebuild is still owed.

Theorem 2 (level one).conditional Let \(N_1(x)\) count the primes up to \(x\) with \(L=1\). Assume (H1) the Hardy–Littlewood asymptotic for the triples \((q,q+g,q+2g)\), uniformly in \(g\), and (H2) a Poisson model of Gallagher type [11] for consecutive gaps. Then \[N_1(x)\ \sim\ 2C_2\,\frac{x}{(\log x)^2},\qquad 2C_2=1.3203236316\ldots\] twice the twin-prime constant. The identification of the constant is unconditional (Lemma 1, §5).

What a bound says about data. Theorem 1 requires \(E(x)=f(x)\sqrt{\log x}/\log\log x\) to stay bounded. It reads 0.385, 0.331, 0.300, 0.276, 0.257, 0.241 at \(10^5,\dots,10^{10}\), the last three carried\(^\dagger\): decreasing, with no plateau, as expected of a bound that is true but not sharp. For Theorem 2 the constant is not visible at accessible heights: \(\Delta N_1\big/\!\int\! dt/\log^2t\) is 0.957 on \([10^5,10^6]\) and 0.995 on \([10^6,10^7]\), on a logarithmic climb towards 1.32. No constant should be read off such data by extrapolation; the identification rests on Lemma 1 and on a gap-by-gap test of (H1) at \(10^{10}\), where observed over predicted is 1.011\(^\dagger\).

Table 3. The ledger. “Native” statements cannot be formulated without the weight–level coordinates; “classical” ones are known problems in these coordinates, and are exactly as hard as before. Status as in the treatise, 10th edition, §8, with the Lean entry added.
ItemStatementKindStatus
Prop. 1, Lemma 2on \(\mathbb N\) the construction is the sieve; domain \(a(n+1)\lt\frac32a(n)\); primes: all but 2, 3, 7nativeproved
Lemmas 3, 4localisation; \(k=3\Leftrightarrow g=2\); column identities; the lock \(r\mid\ell\Leftrightarrow p\equiv g\ (r)\)nativeproved
Prop. 2exactly one of \(3\mid g\), \(3\mid\ell\) (founding Conjectures 7, 8)nativeproved elementary; not a contribution
Prop. 3cube bound, sharp at 131 (founding Conjecture 4)nativeproved exception list complete to \(4\cdot10^{18}\)
Lemma 5\(L=1\Leftrightarrow\ell\) prime when \(\ell\gt g^2\)nativeproved exception lists complete to \(4\cdot10^{18}\)
Lemma 1the mean of \(\fS(0,g,2g)\) over \(g\) is \(2C_2\)classical toolsproved
Theorem 1\(\Nlev(x)\ll x\log\log x/(\log x)^{3/2}\) (founding Conjecture 9)nativeproved* density zero also formalised in Lean 4
Theorem 2\(N_1(x)\sim2C_2\,x/(\log x)^2\)native + H–Lconditional on H1, H2
Lock biasinterior-credit law for the departure from \(1/(r-2)\) (§5)nativeheuristic sign verified below \(10^7\)
Conjecture A\(f(x)\sim c\,\log\log x/\log x\), with the same \(c\) for the Cramér sequencenativeopen conjecture
Problem 1\(\Nlev(x)\ll x\log\log x/(\log x)^2\) unconditionallynativeopen
Problem 2is the level class infinite?nativeopen implied by infinitely many balanced primes
Problem 3the constant of the stratum \(L\gt1\)nativeopen a working value \(c_2=1\) was retracted
Founding Conj. 1infinitely many primes of weight 3classicalclassical the twin prime conjecture
Founding Conj. 2, 3, 5, 6infinitude and structure of fixed columns and linesclassicalclassical of Polignac type
Weight × Level + Jump · a graduate primer5 / 8

Section 4One thousand sequences decomposed, and what follows

Definition 1 applies to any sequence growing more slowly than \((3/2)^n\). What does it measure? This page is a census and is exploratory: apart from the forced-level law, nothing on it is a theorem.

The corpus

decompwlj.com publishes the decomposition of 1000 sequences. Its open companion data set, decompwlj 3D [13], holds 5000 sequences of the OEIS with their first \(10^5\) terms. We take its 1000 lowest A-numbers (A000027 to A035328), whose rows can all be derived again: 99,965,535 terms, of which 99,961,532 decompose and 50,543,638 are level-classified. verified An independent decoder recounted every catalogue count of the 1000 sequences and PARI/GP re-derived 2,000,000 sampled weights, with no mismatch. The corpus is biased towards slow growth (\(10^5\) terms must fit below \(2^{53}\)): only 4,003 terms fail to decompose.

1 · Size: forced level proved

By Proposition A, \(\ell\lt(d+1)^2\) forces the level class. If \(a(n)\sim cn^t\), then \(d\sim ctn^{t-1}\), and the sequence is eventually forced when \(t\ge3\), or when \(t=2\) and \(4c\gt1\); the quarter-squares A002620 sit on the boundary \(4c=1\). In the corpus 331 sequences have a level share \(f\gt99.9\%\) (285 are polynomial), and 329 of them are forced at more than 99.9% of their terms.

2 · Size: one parameter

Let \(\theta=\sum\log d\,/\sum\log\ell\) over the decomposable terms: the jump on the scale of the term. Then \(\theta=0\) for \(\mathbb N\); \(\theta\gt\frac12\) means forced (330 of the 337 such sequences have \(f\gt99.9\%\)); in between, \(f\) increases with \(\theta\). The correlation is 0.971 over the corpus and 0.912 over the 669 sequences with \(f\le99.9\%\) (Figure 4a).

3 · Residues: a control

For each sampled term keep the jump \(d\), replace \(\ell\) by a random \(\ell'\) within 25% of \(\ell\) in the same class modulo \(M\), and classify \((\ell',d)\). Both shares are taken on the same sampled terms, 2000 per sequence.

\(M\)rms gapcorr.beyond \(5\sigma\)within \(2\sigma\)
\(1\)5.32 pts0.990010969.8%
\(840\)3.06 pts0.99682992.8%
\(840\cdot\gcd(\ell,d)\)2.51 pts0.99781495.0%

Sampling noise alone is 1.1 points: with the residues modulo 840 and the common factor of \(\ell\) and \(d\) preserved, the level share of 95% of the sequences is reproduced within \(2\sigma\) (Figure 4b).

4 · Departures are locks on \(\ell\) verified

The control misses the sequences whose defining rule speaks about \(a-d\) itself (observed against control):

  • A033556, \(a(n+1)=2a(n)-{}\)(largest prime below \(a(n)\)): \(\ell\) is that prime, so \(L=1\) at every term. 100% against 38%.
  • A014092, not a sum of two primes: where \(d=2\), \(\ell=a-2\) is composite by definition; none of these 81,061 terms is level-classified. 3.7% against 14.6%.
  • A014091, sums of two primes: an even term followed by an odd one has \(\ell=a-1\) prime; all 15,423 of them are level-classified. 24.5% against 13.4%.
  • A007612, \(a(n+1)=a(n)+{}\)digital root: 9 divides every \(\ell\), so \(k\le9\). 0.0% against 6.7%; 840 does not see 9.
Scatter plot over 1000 sequences of the level share against the size ratio theta: about 10 percent near theta zero, rising to 100 percent at theta one half; forced sequences sit at 100 percent.
Figure 4a. Size. One point per sequence: level share against \(\theta\). Copper: forced at more than 99.9% of terms. The horizontal string at 9.6% is the multiples of \(m\), \(m\le25\): for \(a=mn\), as on \(\mathbb N\), level-classified means \(n-1\) prime, apart from a few small \(n\).
Scatter plot over 1000 sequences of the observed level share against the control level share, tightly along the diagonal, with four labelled outliers.
Figure 4b. Residues. Observed against control level share on the sampled terms, classes modulo \(840\cdot\gcd(\ell,d)\) preserved. Within \(2\sigma\): 95.0% of the sequences, and 93.5% of the 666 with \(f\) between 0.1% and 99.9%; without A033556 the rms gap is 1.58 points. verified decomposition; the controls are single-engine.

What follows

(i) The level share is a reading of size and residues, not an arithmetic invariant: quote it only against a matched control. (ii) A departure from the control is a finite list of locks on \(\ell\), congruential or definitional; finding the lock is finding the arithmetic. (iii) The object measured is the pair (term, sequence), with the integers as ruler. (iv) In aggregate the primes are an ordinary point of this corpus: \(f=23.00\%\) and \(\theta=0.173\), next to the prime powers at 22.97%. What is special about them is on pages 4 and 7.

Weight × Level + Jump · a graduate primer6 / 8

Section 5Where the additive and the multiplicative meet

Additive number theory is about differences, sums and patterns; multiplicative number theory about divisors and Euler products. Definition 1 has a hand in each: its input \(d\) is a difference, its output \(k\) a divisor.

Table 4. A dictionary. Each line is an equivalence, proved on pages 2 to 4, between a statement about divisors and a statement about gaps and residues.
Multiplicative side (weight, level)Additive side (gap, residue, pattern)Source
\(k=3\)\(g=2\): \(p\) is the lesser of two twin primesLemma 4
\(k=5\)\(g=4\) and \(p\equiv4\pmod5\)column identity
\(k=7\)\(g=4\), \(p\equiv4\pmod7\), \(p\not\equiv4\pmod5\); or \(g=6\), \(p\equiv6\pmod7\)column identity
\(r\mid\ell\), \(r\) an odd prime\(p\equiv g\pmod r\)the lock
\(3\mid\ell\)\(3\nmid g\)Proposition 2
\(L=1\), \(\ell\gt g^2\)\(p-g,\ p,\ p+g\) are primes in progression, the last two consecutiveLemma 5
\(\ell=p_{n-1}\)\(p\) is a balanced primecorollary
level classthe shifted prime \(p-g\) has no divisor in \((g,\sqrt{p-g}\,]\)Proposition A

The lock, and its bias

Let \(r\) be an odd prime and \(p\gt r\) a prime with gap \(g\lt r\). Modulo \(r\), \(p\) avoids \(0\) and \(-g\). If the other \(r-2\) classes were equally likely, the lock \(r\mid\ell\) would close with probability \(1/(r-2)\).

\(r\)571113171923
\((r-2)\Pr[r\mid\ell]\)0.9990.9810.9830.9760.9730.9720.975

verified primes below \(10^7\) with \(g\lt r\). The flat law holds within 3%, but the deficit is real: 3.5 to 4.9 standard deviations for each \(r\ge7\).

heuristic Interior credit. The even integers strictly between \(p\) and \(p+g\) must be composite, and a class of \(p\) modulo \(r\) in which one of them is divisible by \(r\) gets that for free. The lock class \(p\equiv g\) is never such a class when \(g\lt r\). Measured over the cells \(4\le g\lt r\le47\): credited classes are over-represented by 9.0%, the others by \(-2.2\%\), the lock class by \(-2.5\%\); for twins, with no interior even integer, the flat law is exact (ratio 1.0006). Compare the biases between consecutive primes of Lemke Oliver and Soundararajan [7].

Lemma 1: where the twin constant enters

Lemma 1.proved Let \(\fS(g)=\prod_p\big(1-\frac{\nu_p(g)}p\big)\big(1-\frac1p\big)^{-3}\) be the singular series of the triple \((q,q+g,q+2g)\), where \(\nu_p(g)\) is the number of classes modulo \(p\) occupied by \(0,g,2g\). Then \(\fS(g)=0\) unless \(6\mid g\), and \[\lim_{G\to\infty}\frac1G\sum_{g\le G}\fS(g)=2\prod_{p\ge3}\Big(1-\frac1{(p-1)^2}\Big)=2C_2 .\]

Proof. \(\nu_p=1\) if \(p\mid g\); otherwise \(\nu_2=2\) and \(\nu_p=3\), which kills the factor at 2 or at 3. For \(p\ge3\) the factor is \((1-\frac1p)^{-2}\) with probability \(\frac1p\) and \((1-\frac3p)(1-\frac1p)^{-3}\) otherwise, of mean \[\Big(1-\frac1p\Big)^{-2}\Big(\frac1p+1-\frac3p\Big)=1-\frac1{(p-1)^2},\] and at \(p=2\) the mean is \(\frac12\cdot4=2\). The local conditions are independent by the Chinese remainder theorem, so the mean of the product is the product of the means; convergence is by truncation ([2], Appendix B.2). \(\square\)

verified The mean over \(g\le10^6\) is 1.3202486, and \(2C_2=1.3203236\ldots\) For \(6\mid g\), \(\fS(g)=2C_3\prod_{p\mid g,\,p\ge5}\frac{p-1}{p-3}\), with \(2C_3=5.7164971914\ldots\)

Averaged along the line \(L=1\), the three-prime condition on \(p-g,\,p,\,p+g\) costs exactly the two-prime constant, doubled. This is the unconditional core of Theorem 2:

\[N_1(x)\approx\sum_g\fS(g)\,e^{-g/\log x}\,\frac{x}{\log^3x}\approx 2C_2\,\frac{x}{\log^2x},\]

the first step being (H1) with (H2), the second Lemma 1.

Three more bridges

Divisors in intervals. The level class asks for integers with no divisor in an interval, the subject of Erdős, Tenenbaum and Ford [5]; here the integer is a shifted prime [6], shifted by its own gap. The nearest published neighbour is Gafni and Tao [9]: prime gaps containing no integer whose least prime factor reaches the length of the gap. Theorem 1 multiplies a multiplicative estimate, an upper-bound sieve for three linear forms, by an additive one: the gaps sum to \(x\). What is not here. Goldbach: the only even numbers the construction forms are \(2p_n=\ell+p_{n+1}\). The Riemann hypothesis: nothing here bears on it. And “the column \(k=3\) is infinite” is a translation of the twin prime conjecture, not a reduction of it.

Exercise 4. Check the local mean of Lemma 1 at \(p=5\) and at \(p=7\); then compute \(\fS(30)/\fS(6)\).

Bar chart of the number of primes below ten million in each odd weight column from 3 to 61. The column 3 holds 58,979 primes; the profile is not monotone, with 7 above 5 and 21 above 19 and 23.
Figure 5. Occupancy of the weight columns \(k\le61\), primes below \(10^7\). Not monotone, for arithmetic reasons: \(k=5\) draws on one gap, \(k=7\) on two; \(k=21\) outruns \(k=19\) as \(3\mid\ell\) is automatic when \(3\nmid g\). verified
Weight × Level + Jump · a graduate primer7 / 8

Section 6Paths of research

Six directions, ordered by how soon a theorem can be expected. A programme has an existing technique and a plausible route; a conjecture is a precise statement with evidence; the rest is labelled speculation.

1 · Refereeing and formalisation programme

Submit Theorem 1 with the elementary theory of page 4. Rebuild the Lean proof independently, then formalise the Selberg rate, and Lemma 2 for the primes (a prime in \((n,\frac32n)\), beyond the Bertrand postulate of Mathlib). This is the shortest path from proved* to proved.

2 · The universal constant conjecture A

For the Cramér sequence, prove \(f(x)\sim c\log\log x/\log x\) almost surely and compute \(c\). A random model has no coupling to the word next, so the lower bound that is out of reach for the primes should be a second-moment computation. Every statistic of the primes can then be quoted as a ratio to the model; page 5 shows that the model to use is the admissible one.

3 · Function fields programme

Over \(\mathbb F_q[t]\), order the monic irreducibles by degree, then lexicographically, and repeat Definition 1. Statements of Hardy–Littlewood type are theorems there in suitable regimes [12], and “no irreducible in between” becomes a computation instead of a hypothesis. Targets, in order: the analogue of Proposition 1; Theorem 1 with its true exponent; Theorem 2 with its constant.

4 · Consecutiveness as a tool programme

Conditioning a Hardy–Littlewood event on “no prime in between” is usually assumed harmless. The lock bias shows that it is not, and that its first-order effect is computable from local factors (page 7). Derive it to second order, state it without weights and levels, and compare with [7].

5 · Divisors of shifted primes, moving window programme

Identify the constant of the stratum \(L\gt1\), which carries 69% of the level class at \(10^{10\,\dagger}\), with the tools of [5, 6, 9]; the novelty is that the left end of the window is the prime’s own gap. Prove Problem 1.

6 · Fingerprinting sequences programme

Replace the modulus 840 of page 6 by the ladder \(\operatorname{lcm}(1,\dots,n)\) and record, for each sequence, the first modulus at which the control closes: a computable invariant. Classify the residual sequences by their lock. Predict the level share of a held-out range before computing it.

Speculation. Extend Definition 1 to non-decomposable terms through a later successor \(a(n+m)\), or to geometric sequences through the ratio \(a(n+1)/a(n)\).

What would count as failure

Conjecture A is proved and the primes’ residual against the model is exactly what local factors predict. The constant of the stratum \(L\gt1\) is a Buchstab-type evaluation already known. The function-field analogue is a routine transcription. Problem 2 stays open, as balanced primes have. What survives is the rigidity of page 4, Theorem 1, the column identities and the consecutiveness calculus: a real but modest body of work. An exposition of this framework that cannot say so should not be trusted.

The largest claim worth making

The decomposition takes an additive datum, the gap to the next term, and uses it to select a multiplicative datum, a divisor. It does so canonically, with no parameter, and on \(\mathbb N\) it is the sieve of Eratosthenes. It will not knock down a wall. It is an exactly computable instance of the additive–multiplicative divide, on which heuristics can be tested against \(10^8\) exact samples.

Verification record

Engines. Python/NumPy (smallest-prime-factor sieve, divisors enumerated from the definition) and PARI/GP 2.15.4 with the project kernels decomp_fact and decomp_fordiv. They agree on \((k,L)\) at all 664,579 primes below \(10^7\). Census rows \(10^3\) to \(10^7\) equal Table 2 of the treatise digit for digit. Carried. Rows \(10^8\) to \(10^{10}\) and every number marked \(\dagger\) (C engine of the treatise); closures “below \(4\cdot10^{18}\)” rest on [8]. Single engine. Random models (seeds \(20261110+1000P+s\), three for Cramér, two otherwise; spread at most 0.11 points); corpus controls (seeds 20261110, 20261111; classes with fewer than 16 members in the window skipped); interior-credit shares. Corpus. Commit ce2f577 of [13]. Not done. No third engine; no census above \(10^7\); the Lean proof was not rebuilt.

References

  1. R. Eismann, Decomposition into weight × level + jump and application to a new classification of primes, arXiv:0711.0865 (2007, v4 2010).
  2. The Weight–Level–Jump Decomposition, pedagogical treatise, 10th edition, 19 August 2026 (decompwlj project).
  3. OEIS Foundation, The On-Line Encyclopedia of Integer Sequences, oeis.org: A117078, A117563, A118534, A001223.
  4. H. Halberstam, H.-E. Richert, Sieve Methods, Academic Press, 1974.
  5. K. Ford, The distribution of integers with a divisor in a given interval, Ann. of Math. 168 (2008), 367–433.
  6. D. Koukoulopoulos, Divisors of shifted primes, Int. Math. Res. Not. (2010); The Distribution of Prime Numbers, AMS, 2019.
  7. R. Lemke Oliver, K. Soundararajan, Unexpected biases in the distribution of consecutive primes, Proc. Natl. Acad. Sci. USA 113 (2016), E4446–E4454.
  8. T. Oliveira e Silva, S. Herzog, S. Pardi, Empirical verification of the even Goldbach conjecture and computation of prime gaps up to \(4\cdot10^{18}\), Math. Comp. 83 (2014), 2033–2060.
  9. A. Gafni, T. Tao, Rough numbers between consecutive primes, arXiv:2508.06463 (2025).
  10. J. Nagura, On the interval containing at least one prime number, Proc. Japan Acad. 28 (1952), 177–181.
  11. P. X. Gallagher, On the distribution of primes in short intervals, Mathematika 23 (1976), 4–9.
  12. L. Bary-Soroker, Hardy–Littlewood tuple conjecture over large finite fields, Int. Math. Res. Not. (2014); W. Sawin, M. Shusterman, On the Chowla and twin primes conjectures over \(\mathbb F_q[T]\), Ann. of Math. 196 (2022).
  13. Data: github.com/decompwlj/decompwlj3dopus (site decompwlj.net). Lean: github.com/decompwlj/Conjecture9inLEAN, commit ae19bde.
Weight × Level + Jump · a graduate primer8 / 8