Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Why does the nth prime divide the nth term?

Cube and look only at the number in front of . You can choose from any of the three factors, or choose an from two of them. The coefficient is , so the only way to make it zero is . In the next step, use a fifth power and make the coefficient of zero: the next coefficient of the original series is . New choices cannot disturb the earlier steps because a term of higher degree cannot contribute to a lower degree.

That is how Hanna’s sequence A381353 builds a series , starting with . At step , choose its th coefficient so that the coefficient of in is zero, where is the th prime. We write for the coefficient of . A formal series is a list of coefficients that we can add and multiply one degree at a time; we do not plug numbers into or need the list to converge.

Hanna’s A381355 comes from differentiating and dividing by . From we find : multiply back by to check the first three coefficients of . Thus and are multiples of and . Term is the coefficient of , not . Why does this divisibility hold at every step?

Film 001 · Why does the nth prime appear? · 1:04

Cancel one coefficient, then see what differentiation and remainders tell us.

Two steps make the pattern work

First write , where has no constant term. The lowest possible degree of is , so only the first few binomial terms can contribute to a low coefficient. If are all coprime to , the identity gives a factor of in each of those binomial coefficients. This is why dividing by to choose a new coefficient does not introduce a fraction.

Lemma 0.1WRITTEN PROOF

For positive integers with , every satisfies for .

Proof

Lemma 1 of the paper: in , powers with cannot reach these degrees. For , the binomial identity and give divisibility by ; if , the binomial coefficient is zero.

Next put , called the logarithmic derivative. The product rule gives . If the coefficient of in is zero, the coefficient of in is zero as well. Now take remainders modulo : at these degrees acts like the constant . So that same coefficient in must have remainder zero.

Theorem 0.2WRITTEN PROOF

Fix any integer and positive integers for , with . There is exactly one rational formal series with , and for every . Both and have integer coefficients, and for every .

Proof

Theorem 2 of the paper: let be the truncation at degree . In degree , appending gives . Thus is forced over the rationals and is integral by Lemma 1. The inverse of is integral: comparing coefficients in gives each new inverse coefficient without any division, since . The differentiation and reduction argument above now applies to over the integers.

Corollary 0.3WRITTEN PROOF

For and , Hanna’s source series exists uniquely over the rationals, is integral, and satisfies for every .

Proof

Corollary 3 of the paper: there are at most primes among the integers through , so and . Apply Theorem 2. The restriction matters: . So does coprimality; taking would instead force .

What happens when we change the target?

Corollary 0.4WRITTEN PROOF

For the same , the quotients are integers when and , including the companion terms at . In one can recover .

Proof

Corollary 4 of the paper: apply Lemma 1 with . For reconstruction let , so . Then . Over the rationals a zero derivative forces all positive-degree coefficients to vanish, and the remaining constant is .

Corollary 0.5WRITTEN PROOF

Keep as in Theorem 2, and choose any integers for . Replacing the zero targets by still gives a unique rational series with integer coefficients. Now for every .

Proof

Corollary 5 of the paper: choose instead. Differentiation gives , and Lemma 1 lets us reduce this coefficient modulo as if were .

A shift reveals a parity pattern

Corollary 0.6WRITTEN PROOF

Let with . For arbitrary integers , the equations , and for determine a unique integral series with . For , , this is the A393866 source : it is also unique over the rationals, and for .

Proof

Corollary 6 of the paper: the one-degree-lower coefficient is already determined, so at step set . Lemma 1 makes a multiple of , so the residue from Corollary 5 is zero. The same linear equation still forces each choice.

A393866 revision 17, FORMULA (2), instead prints . With , division gives . The prime divides , not : the printed degree misses by one.

Corollary 0.7WRITTEN PROOF

Every for is odd. For each , and have the same parity, where . Consequently every finite maximal run of a single parity has even length.

Proof

Corollary 7 of the paper: work modulo , where squares have only even powers because mixed terms occur twice. Start with . At , write with . The shifted equation makes the degree- coefficient of zero. Earlier pairs contribute zero by induction and , leaving . Hence modulo , giving . Parity can only change between pairs, so a finite maximal run consists of whole pairs.

Sources and limits

  • Haobo Ma and Wenlin Zhang, paper version 2, CC BY 4.0. Paul D. Hanna posed the prime divisibility question in A381355 revision 13, COMMENTS. See A381353 revision 19 for the source, and A393866 revision 17, A393867 revision 16, and A393868 revision 9 for the shifted family.
  • Existing Lean declarations cover prime-case existence and divisibility, integer uniqueness for the fixed shifted construction, the printed-degree counterexample, pairing, and oddness. They do not state the full combined results presented here. The exact comparison is recorded in the repository’s .mathesis/REVIEW.md.
  • The paper’s finite checks are illustrations and safeguards, not proofs of an infinite claim. Its argument does not settle the separate A393866 observation about a ratio to the primorial tending to about .